Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Detecting launched application after ShellExecute
Message
De
28/09/2000 01:36:22
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Titre:
Detecting launched application after ShellExecute
Divers
Thread ID:
00421895
Message ID:
00421895
Vues:
47
All,

I am having a hard time finding out what is the right API function that will detect if the application ('WinZip') I have launched using 'ShellExecute' is still running or not.

The returned handle by 'ShellExecute' is that of its parent window, not the instance of the launched application. I doubt if GetWindowText could do the job since its possible to have multiple instances of the same application('WinZip').

I need this 'Function' to prevent my other codes from executing while the launched application is still running.

Another thing, if there is, indeed, a function that will return the window handle for the launched application, could GetWindowModuleFilename return the right application ?

Any informative solution to this query is much appreciated.

Thanks,
Darwin.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform