TipsMFC

From Mesdoc

Revision as of 08:43, 24 May 2007 by 81.80.101.92 (Talk)
(diff) ←Older revision | view current revision (diff) | Newer revision→ (diff)


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