Re: BSTR to char[100] by Maarten
Maarten
Tue Nov 11 00:52:06 CST 2003
You can use the API WideCharToMultiByte to achieve this, but please note
that strings in CE are unicode, so unless this is really what you want you
might simply want to copy your BSTR simply to a TCHAR array.
--
Regards,
Maarten Struys, eMVP
PTS Software bv
"Rally" <ralliart@hotmail.com> wrote in message
news:2uVrb.12778$Ws6.5126@edtnps84...
> I have a BSTR obtained from pocket outlook object model POOM get_FirstName
>
> I want to copy the string into a char[100], how do i do that?
>
> Thansk!
>
>