Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Close a 2nd VFP exe
Message
From
20/07/2007 15:05:05
 
 
To
20/07/2007 14:59:02
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01242070
Message ID:
01242466
Views:
14
>Assumption:
>2nd Exe is running, [you try to close #1 and run into an error / #1 closes because of C0000005]
>because of error the code deleting the semaphore file is not run
>result process #1 is gone, leaving the semaphore file merrily taking up disk space.

Certainly this isn't a concern. :)

>#2 duly checks the semaphore and starts to emulate the VW beetle:
> it runs and runs and runs [until you manually close or delete the semaphore]
>

I assume that Program2 can be also be closed on its own, from within itself (meaning not killed by Windows). I'd bet a bag of donuts that it can be (probably made that assumption based on another thread asking a similar question).

Maybe John can clarify, and you can claim your donuts. :)
Steve Gibson
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform