Discussion Board

Results 1 to 2 of 2
  1. #1
    Regular Contributor
    Join Date
    Mar 2008

    Is it possible to merge two or more DLLs into one?

    Hi All,
    Is it possible to merge two or more different DLLs into one?
    One way could be to mearge their code manually and create a single dll.But i doubt if that wd be advisable.
    In my case i have two Dlls A and B but i dont want to expose them to others. So i was thinking to provide a wrapper kind of mechanism(could be another dll C) which included these dll A and B.
    Is it possible?

  2. #2
    Nokia Developer Champion
    Join Date
    Jul 2004

    Re: Is it possible to merge two or more DLLs into one?

    If you create some new code with exposes a new combined API and all that does is forward calls to the old DLLs then you have created your wrapper.
    However as you haven't changed anything with A and B they are still exposed.

    So your only option if you really want to hide A and B is to make code changes and re-compile, either not exporting functions into A and B, or creating the wrapper DLL but not creating A and B etc.

Similar Threads

  1. Replies: 19
    Last Post: 2009-01-23, 13:41
  2. Porting C Open source.
    By debasish1234 in forum Open C/C++
    Replies: 7
    Last Post: 2008-01-28, 12:06
  3. Replies: 8
    Last Post: 2007-04-06, 10:00
  4. Replies: 5
    Last Post: 2006-08-16, 08:18
  5. DLLs problem...
    By GeKI in forum Symbian
    Replies: 0
    Last Post: 2005-12-16, 14:06

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts