|
-
Oct 14th, 2009, 02:45 PM
#1
Thread Starter
Member
DLL inside another DLL
I'm creating a DLL file that has a reference to another DLL file.
Is it possible to create a DLL file with the other one inside (thus not referring to another DLL file somewhere outside, but referring to itself).
Eg: I've a.dll referring to b.dll.
I want to include b inside a, hence having one dll file instead of 2.
I know this is not the purpose of dynamic link libraries, but my libraries are about 15kb and with not page fault so often. So it doesn't really matter.
Thank you.
-
Oct 14th, 2009, 03:06 PM
#2
Re: DLL inside another DLL
Do you have the source code for both of these? If so, then you can make it happen relatively easily, though it comes at the caveat that you want to either:
1) Never need to update the dll.
Or
2) Have the second one ONLY exist inside the first one, rather than have it be sometimes included, and sometimes used on its own.
My usual boring signature: Nothing
 
-
Oct 14th, 2009, 03:13 PM
#3
Thread Starter
Member
Re: DLL inside another DLL
No, I dont' have the source code for the second one, only the dll.
I want to update the first dll.
I just want to use some methodes from the second dll, no other processes will use the second dll
-
Oct 14th, 2009, 03:18 PM
#4
Re: DLL inside another DLL
Why cant you just do what every other program in the world does and deploy that DLL with your application/DLL? All you need is to add a reference to it and then it just needs to be in the same directory that your app is running from or in the GAC
-
Oct 14th, 2009, 03:23 PM
#5
Thread Starter
Member
Re: DLL inside another DLL
My first dll will be a wrapper for the second one.
But I have quite a lot of these dll files, and I don't want my installation directory cluttered with thousands of 10kb dll's, but rather have a few bigger ones.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|