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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top