Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
BSTR types in VFP
Message
 
To
12/03/2000 15:07:42
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00344694
Message ID:
00344764
Views:
18
>David,
>
>Any idea why I get a empty string returned? The COM is a ATL written in C++ (it does some parsing and manipulation). I pass it a value and get an empty value in return. However, in VB 6.0 everthing works fine.

VFP retrieves (and passes) all values as Variants to COM objects and COM then performs the necessary data translations. If there's binary data in the BSTR it'll be stripped at a CHR(0)...

Other than that it should work fine - I have a number of ATL components I use regularily with VFP.


+++ Rick ---
+++ Rick ---

West Wind Technologies
Maui, Hawaii

west-wind.com/
West Wind Message Board
Rick's Web Log
Markdown Monster
---
Making waves on the Web

Where do you want to surf today?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform