Results 1 to 6 of 6

Thread: Packed Dll's...

  1. #1

    Thread Starter
    Addicted Member Virtual24's Avatar
    Join Date
    May 2001
    Posts
    228

    Arrow 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...

  2. #2
    Zaei
    Guest
    Elaborate, please =).

    Z.

  3. #3

    Thread Starter
    Addicted Member Virtual24's Avatar
    Join Date
    May 2001
    Posts
    228
    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...

  4. #4
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    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.

  5. #5
    Zaei
    Guest
    Yep. You could write your own BigDLL class that would extract each DLL individually into some temp folder, then load them with LoadLibrary.

    Z.

  6. #6

    Thread Starter
    Addicted Member Virtual24's Avatar
    Join Date
    May 2001
    Posts
    228
    Allright, will do.
    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
  •  



Click Here to Expand Forum to Full Width