VC++ & Web Service & DLL -- Also, reading "H" instead of "Hello Wo

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

We have a default "Hello World" web services that we can call from VC++
creating an unmanaged DLL. The DLL is used in old languages that calls the
DLL-function and that is calling the web sevice.
Everything looks fine but we can read the letter "H" and not the entire
string. I'm sure that the problem is the BSTR variable but I do not know what
else to do so, if somebody knows what do I need to do in order to read the
entire string please let me know.
I'm not an expert using Visual Studio or C++ and I'm trying to "recall" C++
and experimenting with Visual Studio to start learning.
 
I have posted a reply to other thread you opened. it is in unicode.
that's why you can't read it. you need to use W2A macro to convert it
to ASCII.

Ismail
 
Back
Top