Hello,
can someone please help me to change isExeRunning to uppercase.
If your exe ist stored like "xTest.exe" in a folder and you call from a program winexec("XTEST.exe") IsExeRunning does not detect the running xTest.exe.
Thanks in advance and best regards,
Otto
HB_FUNC( ISEXERUNNING ) // ( cExeNameCaseSensitive ) --> lResult
{
HANDLE hMutex = CreateMutex( NULL, TRUE, ( LPTSTR ) hb_parc( 1 ) );
hb_retl( GetLastError() == ERROR_ALREADY_EXISTS );
ReleaseMutex( hMutex );
}