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!
>
> RUN is fine. Use FindWindow API function to check another exe running.
> Remember that N clause means NOWAIT.
you can alos look in the last VFUG newletter for Gary Cox's short article
on using ShellExec for that
the advantage is you also get an error code if things go wrong
Arnon
Précédent
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