views:

339

answers:

2

In visual studio 2005: I want to create a dll base on another dll. For example : I want to create a DLL -- new.dll, and it uses a DLL -- old.dll; How can I create a new.dll have old.dll inside? I mean, I don't need to include old.dll in my project when I use new.dll?

Thanks for any advisement.

A: 

you will have to register the dll in gac

http://www.dotnetspider.com/forum/ViewForum.aspx?ForumId=16430

Searock
Thanks for your help.
+1  A: 

Do you have the source code of the old.dll? Is your dll .net dll?

The method about gac is for .net dll and is not for general dll.

If not .net dll, you need to build a library (.lib) first. And let your new.dll linked with the library.

kcwu
kcwuthanks.I did not have the source code of old.dll.It is not a .net dll.