Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFp, WP8
Message
From
25/08/1998 17:02:28
 
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
Miscellaneous
Thread ID:
00129837
Message ID:
00129870
Views:
23
>>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
Map
View

Click here to load this message in the networking platform