Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Creating a VFP9 COM to be used in VFP8 code
Message
From
10/08/2007 11:06:06
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
10/08/2007 10:16:41
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
01247363
Message ID:
01247388
Views:
24
>This is an exchange I had with someone recently and wanted to know if someone could verify that the assertions sound reasonable. Any additional insight/references welcome as well. There are a couple gaps where there was proprietary information, but the gist of it is here. Thanks!

Some of them are not correct. From what I understand you have a chance to compile it some way. If it's so why would you ever want to create a COM and deal with COM problems. Creating a COM and using it as a 'server' looks appealing but it's also a trouble IMHO. Instead create your objects as needed using those libraries. In code the difference looks like:

*COM
oMyObject = createobject('myCOMDLL.myCOMClass')

*non COM
oMyObject = newObject('myClass','myClassLib.prg') && or myClasslib.vcx

I would go with the latter (but that's me).
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform