DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 3 of 3

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.



Bookmarks

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


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


Sponsored Links