Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Creating a VFP9 COM to be used in VFP8 code
Message
De
15/08/2007 10:02:36
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
01247363
Message ID:
01248238
Vues:
34
>>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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform