#include #include "debug.h" #include "stringutils.h" // w32 compile: // cl -D_NO_WINDOWS -D_NO_RAPI -EHsc tstarg.cpp -I ../common ..\common\debug.cpp ..\common\stringutils.cpp // int WINAPI WinMain( HINSTANCE hInstance, HINSTANCE hPrevInstance, LPTSTR lpCmdLine, int nCmdShow) { DebugSetLogfile("tstarg.log"); debugt("'%ls'\n", ToWString(lpCmdLine).c_str()); debug("-----------\n"); StringList args; if (!SplitString(ToString(lpCmdLine), args, false)) { error("Error in commandline"); return false; } for (size_t i=0 ; i