Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
BSTR types in VFP
Message
 
 
To
13/03/2000 11:37:47
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00344694
Message ID:
00345242
Views:
30
Donald,

I don't have the sample code in front of me, but I don't think you want a BSTR* try just BSTR instead.

>Idl = [id(2), helpstring("method OneWord")] HRESULT OneWord([in] BSTR cParseStr, [out] BSTR* retval);
>
>.h = STDMETHOD(OneWord)(/*[in]*/ BSTR cParseStr, /*[out]*/ BSTR* retval);
>
>.CPP = STDMETHODIMP CStringin::OneWord(BSTR cParseStr, BSTR *retval)
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Reply
Map
View

Click here to load this message in the networking platform