Does anyone know of a way to convert a string to a 'const wchar_t*'
I need this conversion for the 3rd parameter in MessageBox(...).
MessageBox(NULL,
apstr.c_str(), // Thius works
(const wchar_t*)this->getMessage().c_str(),// getMessage()
returns a std:string, it does not work!!
MB_OK);
TIA
------------------------------------------------------------------------------
Android is increasing in popularity, but the open development platform that
developers love is also attractive to malware creators. Download this white
paper to learn more about secure code signing practices that can help keep
Android apps secure.
http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public