Information générale
Catégorie:
Fonctions Windows API
>>I have Word Perfect 8 being executed from my app via ole. It often creates multiple threads dure to what the user does. Does anyone know of a way to find out how many threads of WP8 are open? TIA
>
>Hi Joe,
>
>The only quick thing I can think of is to loop through existing Windows looking for the known portion of the title bar. There's a function that I wrote that can determine if a Window's application is running, however, it exits as soon as it finds the first instance. It's in the download section under Win32 and other APIs. You could use that as a start and modify it. If you need some help with it, let me know.
>
>hth,
George,
That function worked well as long as the app was visible, but if the existing thread isn't visible it doesn't close it. One thread (visible) is "Corel Word Perfect "etc.. and the other is "wpwin8". I tried using "wpwin" in the function, but it still doesn't work. Any ideas?? TIA again.
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