Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
Information générale
Catégorie:
COM/DCOM et OLE Automation
>>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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement