I'm trying to run exe from Resource Files.
I used this code but it didn't work.
CString str = Path::GetTempPath() + L"proxy.exe";;
CString action = "open";
ShellExecute(NULL, action, str, NULL, NULL, SW_SHOW);
getchar();
return 0;
I'm trying to run exe from Resource Files.
I used this code but it didn't work.
CString str = Path::GetTempPath() + L"proxy.exe";;
CString action = "open";
ShellExecute(NULL, action, str, NULL, NULL, SW_SHOW);
getchar();
return 0;