Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Creating a VFP9 COM to be used in VFP8 code
Message
From
15/08/2007 10:02:36
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:
01248238
Views:
33
>>The way this works is I will need to send information to the methods/properties though. Port number, data stream, etc. Can I do this in my scenario?
>>
>
>Yes, sure. You would invoke the methods of the class with parameters.
>
>loMyCom = createobject('MyDllName.myClass')
>
>lcMyOutput = loMyCom.MyMethod(myParam1, myParam2)

Is this the same syntax if I'm using a COM EXE instead of a DLL? Does it matter where the MyEXE resides in relation to the main calling EXE?

Also, my object path is: MyEXE.MyForm.MyOleObject (which then uses the _GDIPlus class)

I'm trying something like this: loMyCom = createobject('MyEXE.MyForm.MyOleObject')

but it returns an error that it can't be created.
Previous
Reply
Map
View

Click here to load this message in the networking platform