#include <Windows.h>
#include <ShellAPI.h>
#include <tchar.h>
#include <assert.h>
#include <atltrace.h>
#define WIN32_LEAN_AND_MEAN
#ifdef _DEBUG
#pragma comment(lib, "atlsd.lib")
#define TRACE ATLTRACE
#define ASSERT assert
#endif // _DEBUG
INT WINAPI _tWinMain( __in HINSTANCE hInstance, __in_opt HINSTANCE hPrevInstance,
__in_opt LPTSTR lpCmdLine, __in int nShowCmd )
{
int nNumArgs;
LPTSTR *ppArgv = CommandLineToArgvW(GetCommandLine(),&nNumArgs);
for (int i=0; i<nNumArgs; i++)
{
TRACE("Arg%d:%S.\n", i, ppArgv[i]);
}
return 0;
}