General information
Category:
COM/DCOM and OLE Automation
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only