Thread: making two DLLs into one DLL

  1. #1
    Registered User
    Join Date
    May 2006

    making two DLLs into one DLL

    Hello everyone,

    I have two DLLs and two related import libraries, and currently I want to merge them into one DLL and on import libraries.

    Are there any smarter ways to quick merge them? Any tools in Visual Studio 2005? I want to keep the exported function in both DLLs and import libraries.

    thanks in advance,

  2. #2
    Kernel hacker
    Join Date
    Jul 2007
    Farncombe, Surrey, England
    Just link both sets of source files into a single DLL, and that's about it. If you are using .DEF files you'll obviously have to produce a combined .def file with unique ID's for each function.

    Have I missed something that makes this more difficult than I think?

    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Scary DLL Problem, DLLs crash?
    By execute in forum Windows Programming
    Replies: 7
    Last Post: 11-16-2008, 10:59 AM
  2. non-MFC DLL with MFC app question.
    By Kempelen in forum Windows Programming
    Replies: 10
    Last Post: 08-20-2008, 07:11 AM
  3. Making C DLL using MSVC++ 2005
    By chico1st in forum C Programming
    Replies: 26
    Last Post: 05-28-2008, 01:17 PM
  4. Some doubts on DLLs
    By BrownB in forum Windows Programming
    Replies: 1
    Last Post: 05-30-2007, 02:25 AM
  5. Calling a VB DLL w/ forms from C++ DLL
    By UW_COOP in forum C++ Programming
    Replies: 8
    Last Post: 06-30-2003, 08:04 AM