tags:

views:

108

answers:

4

I have my sources split up in several directories, so for each directory I get back a DLL. Is it possible to create a DLL from several other DLL's ?

EDIT: I'm using C++ with Windows CE Platform Builder 6.0 ( it's not managed )

A: 

ILMerge will allow you to merge multiple .NET assemblies into a single assembly.

Mitch Wheat
Will this work for C++ ?
Geo
Only if it's managed C++
Mitch Wheat
which you didn't originally indicate.
Mitch Wheat
+2  A: 

Use ILMerge

Here you can download this.
Here is Sample for implementation.

Ramesh Soni
+1  A: 

There is no tool that will do this automatically for native code DLLs. You would have create a new DLL and add the existing source code to that project. However, doing this is likely to require changes to the source code.

ChrisN
A: 

You can't create one DLL from multiple DLLs. Any such tool would be awkward since each DLL could have it's own DllMain.

You CAN create a DLL from multiple static libraries though. It shouldn't be too hard to reconfigure your setup that way.

Gerald
Could you please detail a bit ?
Geo