Check out the VFP2C VFPX project. (I know I've referred to this one before. :-) ) If you're using a loader, you could build this check into that. Of course, if your loader blows up...
SET LIBRARY TO <your location>\vfp2c32.fll INITVFP2C32(VFP2C_INIT_ALL) APROCESSES([laProcesses]) DISPLAY MEMORY LIKE laprocesses* If you're an intellisense fan, make sure you run the script to add the VFP2C entries to your foxcode table. There's a ton of useful Windows APIs wrapped in this library. -- rk -----Original Message----- From: ProfoxTech [mailto:[email protected]] On Behalf Of Kurt Wendt Sent: Wednesday, September 16, 2015 3:36 PM To: [email protected] Subject: RE: How do I keep an operator from logging in twice from the same computer Stephen - that's very interesting. When you gave the link - and I checked it out - it wasn't quite clear where you run this command. But, I guessed it was a DOS command - and I tried it myself and it worked. Very interesting - I didn't know you could access the current running Tasks list this way. Very Cool! -K- -----Original Message----- From: ProfoxTech [mailto:[email protected]] On Behalf Of Stephen Russell Sent: Wednesday, September 16, 2015 2:34 PM To: [email protected] Subject: Re: How do I keep an operator from logging in twice from the same computer On Wed, Sep 16, 2015 at 1:17 PM, Wes Wilson <[email protected]> wrote: > 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? > ----------- I would query the running applications myself. http://ss64.com/nt/tasklist.html _______________________________________________ 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/bn4pr10mb0913133824628581a99f076ad2...@bn4pr10mb0913.namprd10.prod.outlook.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.

