#include "utfutils.h" int WINAPI WinMain(HINSTANCE inst, HINSTANCE prevInst, PSTR args, int state) { int argc=0; wchar_t** argw=CommandLineToArgvW(GetCommandLineW(),&argc); char** argv=new char*[argc+1]; argv[argc]=NULL; for (int i=0; i