Toolhelp.dll (Check when DLL or EXE starts or exits) 
Author Message
 Toolhelp.dll (Check when DLL or EXE starts or exits)

Hi!

How do i notify a Visual Basic program every time an application or a DLL
starts or exits?
Found a control (VBX) that do this but it is for 16-bit VB.

//Patrik



Mon, 28 Jan 2002 03:00:00 GMT  
 Toolhelp.dll (Check when DLL or EXE starts or exits)
On Thu, 12 Aug 1999 16:09:31 +0200, "Patrik Cedendahl"

Quote:

>Hi!

>How do i notify a Visual Basic program every time an application or a DLL
>starts or exits?
>Found a control (VBX) that do this but it is for 16-bit VB.

>//Patrik

Patrik,

You can use a system wide hook to do this. Use the SetWindowsHookEx
API function to create either a CBT or a Shell hook, depending on your
requirements. You'll need a regular (non-COM) DLL to store the hook
procedure.

Mattias

________________________________________________
Mattias "BeeZo" Sj?gren

http://home1.2.sbbs.se/mattias.sjogren/sw/



Mon, 28 Jan 2002 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Toolhelp.dll (check when a DLL or EXE is started or exit)

2. Get name of initiating exe/dll from within another exe/dll

3. Get name of initiating exe/dll from within another exe/dll

4. Problems building install file - AutPrx32.dll, AutMgr32.dll, RACMGR32.dll, CLIREG32.exe NOT FOUND

5. DLL DLL DLL DLL DLL DLL

6. Replacement for toolhelp.dll?

7. HELP: TimerCount and toolhelp.dll

8. vb4.0 can't load toolhelp.dll.

9. Toolhelp.dll ????

10. TOOLHELP.DLL in 32 bit

11. Using functions in TOOLHELP.DLL with VB3 ???

12. Help with TOOLHELP.DLL!!!!

 

 
Powered by phpBB® Forum Software