-
Shell Hook without Shell?
Hi *.*,
I'm using a WH_SHELL Hook (C-DLL) to get informed when a foreign program is
startet/closed. It works fine (Win98SE), when the program is started from
the Windows UI (Desktop, Folder, Link ...).
But for some reason this program must be started as Windows Shell
(system.ini: "shell=d:\test\unknown.exe"). In this case the Shell Hook
doesn't work - I get no informations from the DLL :-(.
Does anybody know which parts of Windows/Explorer must be running to ensure
the properly working of a WH_SHELL Hook?
Juergen.
-
Re: Shell Hook without Shell?
> I'm using a WH_SHELL Hook (C-DLL) to get informed when a foreign program
is
> startet/closed. It works fine (Win98SE), when the program is started from
> the Windows UI (Desktop, Folder, Link ...).
> But for some reason this program must be started as Windows Shell
> (system.ini: "shell=d:\test\unknown.exe"). In this case the Shell Hook
> doesn't work - I get no informations from the DLL :-(.
> Does anybody know which parts of Windows/Explorer must be running to
ensure
> the properly working of a WH_SHELL Hook?
>
Meanwhile, I've tried to check where the defect is - the callback function
of the hook DLL is not called from Windows ...
Juergen.
-
Re: Shell Hook without Shell?
> I'm using a WH_SHELL Hook (C-DLL) to get informed when a foreign program
is
> startet/closed. It works fine (Win98SE), when the program is started from
> the Windows UI (Desktop, Folder, Link ...).
> But for some reason this program must be started as Windows Shell
> (system.ini: "shell=d:\test\unknown.exe"). In this case the Shell Hook
> doesn't work - I get no informations from the DLL :-(.
> Does anybody know which parts of Windows/Explorer must be running to
ensure
> the properly working of a WH_SHELL Hook?
>
Meanwhile, I've tried to check where the defect is - the callback function
of the hook DLL is not called from Windows ...
Juergen.
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
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks