>Hi All,
>
>In my MAIN PRG, I declared PUBLIC Variable that I release it at the end of my Application run. I use this variable to check if the application is already running.
>
>If I run the app twice, I don't find the public var. (I use the TYPE() function for that...), What Am I doing wrong ?
>
>Thanks,
>
>Gadi
Ed Rauh shows how to use the CreateEvent() API call to do this. See the API section for a description and code. There are a number of other ways, however, to accomplish this. Another API solution involves creating a mutex. You could also use DDE.
George
Ubi caritas et amor, deus ibi est