Does anyone know if its possible to pack a bunch of DLL's into one file and then still access them seperately in my program? How would this be done?
Printable View
Does anyone know if its possible to pack a bunch of DLL's into one file and then still access them seperately in my program? How would this be done?
Elaborate, please =).
Z.
Ok...
Say I use a program made in VB that simply takes a bunch of .dll files and appends one on to the next until all of them are one file.
Then I want to use them in my C++ program without having to open all of them at once. Sort of like having all of the dll's in a .zip but they arent compressed. How do I read from this one big file in order to open the dll's inside of it sperately, that is, one at a time.
Ex. Load [dll1.dll] from [big file]... (Using LoadLibrary())
and call functions in it... then FreeLibrary()... Load [dll2.dll] from [big file]......... so on and so forth...
Do you see what i mean now?
No.
LoadLibrary accepts only valid filenames. You could make your own mechanism that extracts the dlls to the temp folder and then calls LoadLibrary with this valid file. It is not possible to directly load them.
Yep. You could write your own BigDLL class that would extract each DLL individually into some temp folder, then load them with LoadLibrary.
Z.
Allright, will do.