TipsMFC

From Mesdoc


http://www.flounder.com/cstring.htm



[edit] Transformer Wide Char en Char

BSTR wbuf = L"Bonjour les amis";
char abuf[256];
WideCharToMultiByte(CP_ACP, 0, wbuf, -1, abuf, sizeof(abuf), 0, 0);
Personal tools