Hi all. I need to know if my app is already running to avoid more cuncurrent executions. I always used to check this that the Luis Krause's tMutex class but it seems doen't runs with last FWH/xHarbour version. Do you know if there is an updater for this class or any alternative ?
... add this line al begin in your main prg. ...GLOBAL oMutex... add this functions to main prg ...INIT PROCEDURE Main_Ini() /*crea objeto tmutex*/ oMutex := TMutex():Open( NIL, FALSE, "KDSoft" ) /*valida mutex*/ IF oMutex:hMutex==0 oMutex := TMutex():Create( ...
Hi Marco, Does TMutex works in Vista?. I have compiled your test program with replacing GetProcAddress() to GetProcAdd() in line 211 as below Return GetProcAdd( hDLL, cFunc, lType, nRetType, nPType1, nPType2,; When i try to run ...
... call external dll. Pls. take a look at this self-contained sample on http://www.softwarexp.co.uk/beta/test.zip This sample simply check using the tmutex class if another application is running. With FWH May 2008 all runs fine meanwhile with FWH October 2008 it doesn't runs. Any ideas ? Thanks ...
Hola, busca la clase tmutex es para eso saludos Marcelo Saludos amigos del foro; tengo esta inquietud para evitar que un programa (exe) se ejecuta en mas de una ocasion. Me sucede mucho con mis clientes, que al minimizar una de mis ...