31static inline char *
wideToMulti(
unsigned int codePage,
const wchar_t *aw)
33 const int required = WideCharToMultiByte(codePage, 0, aw, -1,
nullptr, 0,
nullptr,
nullptr);
34 char *
result =
new char[required];
35 WideCharToMultiByte(codePage, 0, aw, -1,
result, required,
nullptr,
nullptr);
static int qtEntryPoint()
int WINAPI WinMain(HINSTANCE, HINSTANCE, LPSTR, int)
static char * wideToMulti(unsigned int codePage, const wchar_t *aw)
int WINAPI wWinMain(HINSTANCE, HINSTANCE, LPWSTR, int)