|
-
Sep 24th, 2001, 01:54 PM
#1
Thread Starter
PowerPoster
Need a System-Wide Hook DLL
Anyone have a DLL which will handle all the different WH hooks they are willing to post or send me via email?
Thanks
David
-
Sep 24th, 2001, 04:18 PM
#2
Fanatic Member
-
Sep 24th, 2001, 04:42 PM
#3
Just a note - when you implement a system-wide hook, you are entering a kind of time warp.
You're essentially turning windows into Windows 3.11
What I mean is if your process hangs, the whole system hangs.
You can't do ctl-alt-del to kill off the hung process. This has severe implications for development - ie., if you screw up you have to reboot. If your code has a bug, the user gets to reboot and lose 3 hours of document entry into Word (or whatever).
-
Sep 24th, 2001, 05:01 PM
#4
Thread Starter
PowerPoster
Thanks for posts.
Will check out file Patoooey.
Jim:
Interesting comment re: win 3.1. Are you sure of this. There are about 15 different hooks you can make in the O/S and each one does something a little different. Never used a system-wide however so time will tell. WIll approach with caution -- saving frequently!!!
My case shouldn't matter as want to quickly hook another process to minimize app and then exit.
-
Sep 24th, 2001, 05:07 PM
#5
Fanatic Member
Yes.....system wide hooks are a "feast or famine" kind of thing. If you do it, do it like you mentioned. Hook, do quick work, un-hook.
My understanding is the code/dll on that link doesn't block the 3-finger salute and you can specify which messages to capture which makes things a little less scarey.
Never tested it so your on your own.
-
Sep 27th, 2001, 11:43 AM
#6
Thread Starter
PowerPoster
Patoooey:
Have you ever used vbAccelerators Hook DLL.
Looking at *.rtf file indicates it support WH_CBT
but when I use it I get a GPF.
If you have, and are willing, will post code for a
quick looksee.
Thanks
David
-
Sep 27th, 2001, 11:59 AM
#7
Fanatic Member
I've never used it but I thought the WH_CBT hook was intended for computer based training programs and was never used for some reason ??
Any other hook work ??
-
Sep 27th, 2001, 12:02 PM
#8
Thread Starter
PowerPoster
Your right about training but also has other uses.
Only hook I know which will trap window before it is created.
so you can send message to modify window. My case
Show it minimized.
-
Sep 27th, 2001, 12:13 PM
#9
Fanatic Member
sorry for budding in.. What are you talking about?>
SeaHag
-
Sep 27th, 2001, 12:35 PM
#10
Thread Starter
PowerPoster
No Butting. Glad to have any constructive input.
Trying to locate a DLL which will support systemwide
hooking for all 14/15 hooks.
Patoooey suggested vbAccelerator site. Downloaded their
DLL, but when try to use it systemwide with WH_CBT
get a GPF.
Ultimate objective is this:
Have an out of process app that I call their DLL through their OCX
by "XYZ.Start". Once started their App does shows above mine
until I minimize it. Want to hook their app before window creation so that I can minimize it prior to it showing.
Currently, use Window Title then minimize but this is after window is created so it show for about 10-15 seconds on top of mine.
-
Sep 27th, 2001, 12:48 PM
#11
Fanatic Member
-
Sep 27th, 2001, 12:51 PM
#12
Thread Starter
PowerPoster
Hope no offense will be taken, but recommend you click Patoooey's link to vbAccelerator-- they do a great job
explaining it.
-
Sep 27th, 2001, 12:53 PM
#13
-
Sep 27th, 2001, 01:49 PM
#14
Thread Starter
PowerPoster
-
Sep 27th, 2001, 06:37 PM
#15
Thread Starter
PowerPoster
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|