Thread: Adding data to an allready existing DLL

  1. #1
    Registered User Queatrix's Avatar
    Join Date
    Apr 2005
    Posts
    1,342

    Lightbulb Adding data to an allready existing DLL

    Can I add a function to a allready existing DLL that is called when the DLL is loaded? If so, how? Thanks, August.

  2. #2
    Unregistered User
    Join Date
    Sep 2005
    Location
    Antarctica
    Posts
    341
    well, you can hook the LoadLibrary windows API for the application that loads the DLL. Then you can insert your own code before calling the existing implementation of LoadLibrary when the passed in DLL is the one you are checking for.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. singly linked circular list
    By DarkDot in forum C++ Programming
    Replies: 0
    Last Post: 04-24-2007, 08:55 PM
  2. simultaneously waiting for data on FIFO and UDP using select call
    By yogesh3073 in forum Networking/Device Communication
    Replies: 2
    Last Post: 01-05-2007, 09:53 AM
  3. Binary Tree, couple questions
    By scoobasean in forum C Programming
    Replies: 3
    Last Post: 03-12-2005, 09:09 PM
  4. C diamonds and perls :°)
    By Carlos in forum A Brief History of Cprogramming.com
    Replies: 7
    Last Post: 05-16-2003, 10:19 PM
  5. Adding data to list boxes
    By Bazz in forum Windows Programming
    Replies: 1
    Last Post: 10-15-2001, 06:35 AM