Original Post
hello, currently i'm working on a game project that use directx and win32 api. here is the situation: i need to call an external program from my game ( a touchscreen calibrate utility ). i called the touchscreen calibrate program using win32 CreateProcess(). if i'm running my game in a windowed mode, it works ( calling the calibrate utility and then back into the game) but if i'm running my game in fullscreen mode, it doesn't work (calling the calibrate utility, and if i closed the app it won't go back to the game & shown DDerror surface lost) ExecuteProcess is an encapsulation of win32 api CreateProcess() i have an opinion maybe this is the same situation like alt+tab problem. CMIIW can someone give some sugestion ? thx before
DWORD WINAPI monitor_extprg_proc(LPVOID input){
...
int retVal;
retVal = input->agent->ExecuteProcess(program,param);
...
}
void Class::OnAction(Event event){
...
monitor_extprg_handle = CreateThread(NULL,0,monitor_extprg_proc,input,0,&id);
...
}