End Google Ads 201810 - BS.net 01 --> Hi,

I use this code to terminate calc.exe on Windows Vista and Windows 7

DWORD fdwExit = 0;
HANDLE hProcess = GetProcessHandle("calc.exe");
GetExitCodeProcess(hProcess, fdwExit);
TerminateProcess(hProcess, fdwExit);
CloseHandle(hProcess);

On Windows XP SP3 the above code doesn't have any effect!

any idea? thanks