Search:
Type: Posts; User: cristinuccia
Search:
Search took 0.04 seconds.
-
Many thanks Olaf as usual for your reply. No, I have not any constraint on performance, so I looked for a working solution even if slow.
Thanks a lot again, :-)
Cri
-
Finally, I solved as follows:
string str="Hello World";
int wslen = ::MultiByteToWideChar(CP_ACP, 0 /* no flags */,
str.data(), str.length(),
...
-
Hi all,
BSTR tmp = SysAllocString(L"Hello world");
It works! But
-
Dear Schmidt,
Many many thanks for your help. I've tried your code and it works! Thanks a lot!
Of course, I have adapted it for my purposes and I've still a small problem. In your sample code...
-
Actually, I want to develop a function in which one of its output parameters is an array of strings. Based on this I thought to pass it an array of empty strings and make the function fill up these...
-
Thanks Niya for your quick reply. The problem with your code is that you are manipulating stings already allocated in memory. In your example you are using strupr that does not allocate new memory as...
-
Many thanks Niya and Bonnie. It works!
I would like to take advantage of your courtesy for another small question. Now suppose that the C function wants to return an array of string. For instance:...
-
Many thanks guys for your quick reply!
I will try and I keep you posted.
Thanks again,
Cri
-
Hi all,
I would be very gratefull if you could help me in solving the following problem.
I've developed a C library which exports a function which use as input parameter an array of strings. I...
|
Click Here to Expand Forum to Full Width
|