Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Close a 2nd VFP exe
Message
De
20/07/2007 16:13:01
 
 
À
20/07/2007 16:05:25
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01242070
Message ID:
01242484
Vues:
20
Okay, I'll eat the donuts. Although I don't need them either.

>But take a look at the line you snipped:
>
>"We want the 2nd EXE to close whenever the primary exe is closed."
>
>To me this calls for automatic, not manual closing.
>

To me it doesn't specify if the child .exe is allowed to close itself. And it certainly would be easy enough to add a (perhaps hidden) method to do so.

Proper error handling would make sure semaphore is always deleted. Except for C0005 exceptions. And if there are enough of those happening, he's got bigger fish to fry (figure out that problem) than worrying about how the user closed program2.

Have I made you hungry yet with food talk? :)
Steve Gibson
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform