Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Quitting to another application
Message
De
05/03/2009 12:23:35
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
05/03/2009 11:06:31
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Divers
Thread ID:
01385741
Message ID:
01385886
Vues:
44
>>>I'll semaphorize the processes to resolve conflicts.
>>>
>>And why will that be any problem? A small part of VFP will remain in memory for a few more nanoseconds, doing clean up, that's all.
>
>It's for an updater, the second process must ensure the calling process is completely off-cpu.

OIC now. I do exactly the same thing with ShellExecute. In updater I do the updating if I can open the source executable readwrite (else it is not quitted yet and I wait). It works very nicely (I have a semaphore locking for running instances check in main exe but I don't even needed to use it in 'updater').
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform