|
-
Mar 3rd, 2002, 11:13 PM
#1
Thread Starter
Addicted Member
Packed Dll's...
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?
To protect time is to protect everything...
-
Mar 3rd, 2002, 11:50 PM
#2
-
Mar 3rd, 2002, 11:59 PM
#3
Thread Starter
Addicted Member
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?
To protect time is to protect everything...
-
Mar 4th, 2002, 10:10 AM
#4
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.
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
-
Mar 4th, 2002, 02:29 PM
#5
Yep. You could write your own BigDLL class that would extract each DLL individually into some temp folder, then load them with LoadLibrary.
Z.
-
Mar 4th, 2002, 03:06 PM
#6
Thread Starter
Addicted Member
To protect time is to protect everything...
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
|