Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Vt_ bstr
Message
De
16/05/2003 12:02:19
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Vt_ bstr
Divers
Thread ID:
00789286
Message ID:
00789286
Vues:
53
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
Fil
Voir

Click here to load this message in the networking platform