Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21917

SysAllocString

$
0
0
Hi all,

Code:

BSTR tmp = SysAllocString(L"Hello world");
It works! But

Code:

char mystr[] = "Hello world";
BSTR tmp = SysAllocString(mystr);

Does not compile. Any hint?

Thanks,

Cristina

Viewing all articles
Browse latest Browse all 21917

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>