0 użytkowników i 1 Gość przegląda ten wątek.
bool ExecuteFile(TCHAR *name,TCHAR *param){ SHELLEXECUTEINFO sei; ZeroMemory(&sei, sizeof(SHELLEXECUTEINFO)); sei.cbSize = sizeof(SHELLEXECUTEINFO); sei.lpFile = name; sei.lpParameters = param; sei.nShow = SW_SHOW; return (ShellExecuteEx(&sei) == 1);}