Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to know if internet explorer is running ?
Message
 
To
14/12/2002 05:43:50
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00723207
Message ID:
00733034
Views:
20
Andrus,

I am not familiar with stunnel. If I do not know the class, I used to use two technics:
1. if I know the window caption, then
FindWindow(0,"WINDOW CAPTION") gives the handle, and then GetClassName API gives the class name.
2. often I use the utility API Spy by Derek Nicol, www.dwnldz.cjb.net, derek@dwnldz.cjb.net to see the needed information.

Regards. Though not George, but Yuri.
>George, this is interesting.
>
>I want to use this to determine if stunnel is running.
>However, I don't know the class name ?
>How to determine the window class name of a running program ?
>
>
>>DECLARE INTEGER FindWindow IN Win32API;
>> STRING @lpClassName, STRING @lpWindowName
>>
>>if FindWindow("IEFrame",0)#0
>>*Running
>>endif
>>
>>clear dlls
>>
>>
>>>to know if ie is running i make a procedure that loop througt the proccesses.
>>>but after 1 or 2 hours, this procedure slows the computer and some consume to much memory.
>>>
>>>so is there another way to know if internet explorer is being loaded on a computer without make a loop?
Previous
Reply
Map
View

Click here to load this message in the networking platform