Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ADO,MTS & COM+ and VFP DLL Server....
Message
 
To
02/11/2001 14:25:18
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00575785
Message ID:
00577014
Views:
25
Thanks for the fast response...

1- If using this option the work is done in the server, so fine. However, exist another problem. If i pass a array with @ (of curse, using COMARRAY(MyServer,11)
i get "Invalido Adressee", but if i don't use COMARRAY or @ no error occurs, but the
procces logic goes wrong

2- When i said "VFP is not soo good with COM development" is not because the VFP Support is made bad, simply this no have ENOUGH Com support (a lot of thing fix in VFP 7, i hope)

For example:

- No intellisense...ok, this is not only with com
- Not easy support to enum (need create a .h file, or copy from VB object browser or Delphi)
- EXTREME BAD ERROR HABDLING (hey, this is best in VFP7)
* Too problem with objects destrucction. For example, i create a class, and add a property like .Recordset. Assign a reference to a recordset object, an later i do:

MyObject=.NULL., MyObject=.F.. The reference to .Recordset is not destroyed, the destroy method is not called or called too late... I neeed explicit do MyObject.Destroy for ok
* Impossible protect code against error. Imposible stop a code if a error occurs. That it, not a TRY-FINALLY-EXCEPT constructors, so i need check en each vital line if a error occurs (best in each line, but...)
* If a error occurs, the object not free the COM references, because the destroy, etc... methods is not called (or called too late or too fast?), and you no can see nowhere if still alive a object reference...


- BAD TESTING. Imposible test inside a DLL/Exe com server. Run with native VFP class run ok, but this is not the same (somethings) when is created like a COM server. Only way=sending information to a file, o run errors...


- No way to determine the type-safe of parameters and return values (fix in VFP7)

- No way to create ActiveX form/controls. Luckyly i get Delphi and create this things in it. But is not the same...specially if the activex form/control use a VFP database...

- Not soo good suppor to some Activex controls...

Other tecnical issues not sense to VFP programers...
The Life is Beautiful!

Programmer in
Delphi, VS.NET
MCP
Previous
Reply
Map
View

Click here to load this message in the networking platform