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

From: RobertoPerez (RobertoPerez_at_discussions.microsoft.com)
Date: 03/14/05


Date: Mon, 14 Mar 2005 10:39:07 -0800

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.



Relevant Pages

  • Re: Creating Generic Class from 2 classes
    ... The Web Services are written in Java and we just have access to them. ... We have another problem with multiple defined arrays (string ... It can't seem to find the newHireService. ... the properties in the DataBean from the program that calls the Services. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Creating Generic Class from 2 classes
    ... The Web Services are written in Java and we just have access to them. ... It can't seem to find the newHireService. ... public string GetNewsItem ... The DataBean in Java is just a structure. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Creating Generic Class from 2 classes
    ... The Web Services are written in Java and we just have access to them. ... defines it as string[]. ... It can't seem to find the newHireService. ... properties in the DataBean from the program that calls the Services. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: System.Net.WebException: The remote server returned an error: (500) Internal Server Error.
    ... Are you sending the proper XML message (SOAP)? ... private static string GetWebResponseString(WebResponse ... If you are intending to use .NET for web services, ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Denied Access ERROR - Help
    ... I ran FileMon on the QA1 box when it was trying to access the ZIP file on ... >web services that are on the web server to pick up the Zip file and send it ... > access, FileShare share, Int32 bufferSize, Boolean useAsync, String ...
    (microsoft.public.dotnet.framework.aspnet)