Re: test if a program is running
- Posted by gbonvehi Jul 16, 2009
- 1359 views
Well, the code is not calling CloseHandle, maybe you could try adding it to see if it helps.
CloseHandle: http://msdn.microsoft.com/en-us/library/ms724211(VS.85).aspx
Microsoft´s Example of getting process info: http://msdn.microsoft.com/en-us/library/ms686701(VS.85).aspx
Cheers,
Guillermo