For example i want to use { TexOut } API with unicode characters . please explain how i can do this . Thanks.
How i can use c++ %26amp; win32 API with Unicode ?
WinGDI.h (as other win* headers) contains both UNICODE and ASCII versions:
#ifdef UNICODE
#define TextOut TextOutW
#else
#define TextOut TextOutA
So you can either
#define UNICODE
in your project or use explicitly:
TextOutW( dc, x, y, L"Text", 0 );
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment