Information générale
Catégorie:
COM/DCOM et OLE Automation
Hi,
I've tried to use an object -to be honest I don't know in which language was compiled-. However I've registed the dll that holds the object with regsrv32 and I can create the object perfect
To create the object I use:
myO=createobject("object")
Once I've created the object my problem is I cannot pass parameters to its method. Well I can, but the object ignore them, as though the parameters wasn't the correct type.
The documentation tells that the data type the object expect are string VT_BSTR (OLE Automation string data type).
Also I've tried using the VFP function CREATEBINARY(string) but nothing succeeded.
It's a pity because I can call methods that don't need parameters but I cannot use methods that need parameters
Any Idea? I'm using VFP 5.0.
Thanks
Suivant
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