MING-W compiler:
#include <tchar.h>
...
...
#define _UNICODE
_T("World"); // L"World" -> wchar_t
#undef _UNICODE
_T("World"); // "World" -> char
Type: Posts; User: Joose
MING-W compiler:
#include <tchar.h>
...
...
#define _UNICODE
_T("World"); // L"World" -> wchar_t
#undef _UNICODE
_T("World"); // "World" -> char
no entender
I'm reviewing your code I also am developing a project with the same resource, by the time I leave these examples:
FoosYerDoos - C++ Programming
FoosYerDoos - C++ Programming
Regards
Configurar la consola de cmd o ventana de msdos
Project Progress Bar in Codeblocks - XP Visual Style:
Win API - Capítulo 50 Barra de progreso
Regards
For compatibility ANSI - UNICODE:
#include <tchar.h>
...
hInstance = GetModuleHandle(_T("TS104.dll"));
Used in CodeBlocks:
#if defined __MINGW_H
#define _WIN32_IE 0x400
#endif
#include <commctrl.h>
Linked libcomctl32.a