Thread: Loading DLLs Into System Processes?

  1. #1
    Registered User
    Join Date
    Feb 2003
    Posts
    265

    Loading DLLs Into System Processes?

    Okeydokey, I have seen programs (Writen as DLL's) that are loaded by Explorer or some other system process at boot time, and a function is called within the DLL. How can I order Explorer to load my DLL and execute a function in it all automatically everytime it starts. How can I get a list of DLLs that its loading, functions its calling in them, and edit that list? Im wondering if its a reg key like the processes that get started.

  2. #2
    5|-|1+|-|34|) ober's Avatar
    Join Date
    Aug 2001
    Posts
    4,429
    what OS? Have you checked in msconfig (98, 98SE, XP, ME)?

  3. #3
    Registered User
    Join Date
    Feb 2003
    Posts
    265
    Im running 2k although it should probablly be similar for the NT/2k/xp/2k3 branch shouldnt it?

  4. #4
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,660
    As with all things windows, look in the registry

    An easy tip would be to have say winzip installed, then go searching the registry for references to it.

    The registry tells explorer the names of plugin DLLs, but the function names within those DLLs are standardised (no doubt MSDN explains more)
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  5. #5
    Skunkmeister Stoned_Coder's Avatar
    Join Date
    Aug 2001
    Posts
    2,572
    Look into SHLoadInProc().There should be examples on msdn
    Free the weed!! Class B to class C is not good enough!!
    And the FAQ is here :- http://faq.cprogramming.com/cgi-bin/smartfaq.cgi

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Processes not dying
    By Elkvis in forum Linux Programming
    Replies: 12
    Last Post: 04-23-2008, 08:59 AM
  2. added start menu crashes game
    By avgprogamerjoe in forum Game Programming
    Replies: 6
    Last Post: 08-29-2007, 01:30 PM
  3. New system build wont boot
    By lightatdawn in forum Tech Board
    Replies: 7
    Last Post: 12-02-2005, 06:58 AM
  4. binary tree of processes
    By gregulator in forum C Programming
    Replies: 1
    Last Post: 02-28-2005, 12:59 AM
  5. Replies: 3
    Last Post: 10-29-2003, 09:39 AM