General information
Category:
Windows API functions
>>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.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only