Information générale
Catégorie:
Codage, syntaxe et commandes
>>>I found a neat Third Party EXE that I want to call from my application. Is RUN /N Program.exe the best way? Also, is there a Win32API function that I can call to see if program.exe is already running and switch to it if it is?
>>>
>>>Thanks!
>
>I believe there is an article in this months VFUG newsletter that covers that.
I read the article, and it was useful. I came up with some code that works which I have included below. I have one question. When I remove the WAIT command, the application flashes on the screen for a second and then vanishes. Why is this? Am I missing some thing? It seems like the READ EVENTS is the culprit. This code works fine (with the WAIT) if I run it outside my application, that is as an PRG instead of EXE.
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