Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sys 2336 Necessity?
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00754984
Message ID:
00756797
Views:
10
OK I got an idea.

I have an exe that executes an external (non-VFP) exe. While the exe is running, VFP goes into a loop and looks for a semaphore file to continue processing. The VFP side of things could run as a DLL, and when the external app is launched (I'm doing it with API calls), I could "lock" the DLL with the Sys call and then continue. Hmmm..


>Steve -- (I don't know if this helps, but since VFP and VB6 both use single threaded apartment models, it seems worth throwing this out there...).
>
>I have seen VB code that explicitly deals with critical sections, but only in cases where the developer was spawning new subordinate thread instances, and grabbing values using the FindAtomA API, etc.
>
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform