Hello and Good Morning,
and thanks for the quick answer.
The client is written in C/C++ using Visual-C++ 6.0 (it is a small commandline executable for testing).
I have done the following:
......
VARIANT sText;
.....
sText = pVI->GetControlValue("message");
printf("Value: %s\n", sText.bstrVal);
.....
This will show me only the first character in my string to read (the complete string should be "Hello World :o)", what else).
I found out, that I have to use special functions for working with BSTR. I expanded my little application with the following
line, and I can see the correct length of my test string received.
.....
printf("Length: %i\n", SysStringLen(sTextbstrVal));
.....
So my question is, who do I get the complete string ? And what do I have to do, to set my control "message"?
I am not very familiar with C/C++, so if you could provide an example (or a link to an example) with some descriptions
woulb be really great.
Thanks in advance
Heinrich Eidloth