Shell Hook without Shell?


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3

Thread: Shell Hook without Shell?

Hybrid View

  1. #1
    Juergen Thuemmler Guest

    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.



  2. #2
    Juergen Thuemmler Guest

    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.



  3. #3
    Juergen Thuemmler Guest

    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
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center