Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Quitting to another application
Message
From
05/03/2009 12:23:35
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
05/03/2009 11:06:31
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01385741
Message ID:
01385886
Views:
45
>>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform