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.