Information générale
Catégorie:
COM/DCOM et 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.
>
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement