Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Vt_ bstr
Message
From
16/05/2003 12:02:19
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Vt_ bstr
Miscellaneous
Thread ID:
00789286
Message ID:
00789286
Views:
54
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
Next
Reply
Map
View

Click here to load this message in the networking platform