Cortex
Full Member level 3
ansistring to bstr
IN C++ Builder
i want to convert a Ansistring (a editbox) to a BSTR
i already know how to make a BSTR
BSTR temp;
temp = SysAllocString(L"My text");
but i want to put random text
so how can i do it
Thanks in advance
IN C++ Builder
i want to convert a Ansistring (a editbox) to a BSTR
i already know how to make a BSTR
BSTR temp;
temp = SysAllocString(L"My text");
but i want to put random text
so how can i do it
Thanks in advance