Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to wait for completion of shellexec ?
Message
De
10/01/2003 04:04:28
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
09/01/2003 15:34:10
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00739175
Message ID:
00740198
Vues:
29
>Yes. But since you already have the handle to the window you can add another check whether the handle still valid or not. If not then you can leave the loop in WFSO
>
>Btw, did I misunderstand for the question on WScript ? Did you mean that WScript is just a wrapper to API ? If that's what you mean then yes you're right. It also using CreateProcess.

That's my main problem. Not at all times you can get 'correct' window handle (what happened to me is that some apps put a toplevel window on start - maybe a splash one- then it goes away after some time and real app window comes up). If I could it's simple to wait checking IsWindow(hwnd).
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform