from msdn.com

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vccore/html/vcconStringsAllocatingReleasingMemoryForBSTR.asp

Looks like you'll want something like:
::SysAllocString(...), but don't forget ::SysFreeString

 --m

[EMAIL PROTECTED] wrote:

Hello,
I am creating a client for my axis web service in Visual Studio. By using Visual Studio to add a web reference, the program creates several data objects of type BSTR.
I am wondering if anybody could give me a quick explanation why my Strings are getting placed as BSTR's, and one is being placed as a BSTR*. Now the BSTR* is becoming a complete obstacle because I don't even know how to get it initialized and I can't find anything on it.
If somebody could give me a quick rundown of what I have to do to these BSTR's to get them initialized with the String values and how they'll run through axis, that'd be great.
Thanks in advance.
James Crosson
[EMAIL PROTECTED]



Reply via email to