Yes, there is a way, or even more than one, You can use a Windows
Semaphore, that is automatically released if the app crashes.
As a way for knowing if an exe is running (even if crashed but not released
from memory), you can query WMI for active process names.

Regards.-



2015-09-16 20:17 GMT+02:00 Wes Wilson <[email protected]>:

> I could create a flag but it will still be there if he crashes and tries
> to get back in.
> Is there not a way to check to see if an exe is running? Wes Wilson,
> President   ERW Custom Programming, Inc. Crescent Lake Plaza
> 5459  Elizabeth Lake Rd.
> Waterford, MI 48327
> (248) 683-4182
> www.visual-foxpro-programmer.com
>  www.erw.com [email protected]
>
>
> --- StripMime Report -- processed MIME parts ---
> multipart/alternative
>   text/plain (text body -- kept)
>   text/html
> ---
>
[excessive quoting removed by server]

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/CAGQ_Ju=wST26jXA0qcUKamH_1n_4Vd=dunwg78kule4+p+f...@mail.gmail.com
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to