Quote Originally Posted by Brainer
I wouldn't be so sure about that. For all I know, Windows looks up for needed libraries before the app is actually executed, so it might not be possible to extract it before it's invoked by the very app. Of course I may be wrong, but that's how it works, I think.
You can dynamically load your libraries using loadLibrary (if my memory serves), then you can stream it out to disk and load it (and I perhaps should have read the parent post properly first... I can't say for certain anything about FreePascal as I've never used it, but on Windows I'd be suprised if you can't dynamically load libraries since thats part of the Windows API and on other platforms there should be an equivalent function).

However... I have to agree with Will. Packaging your game is a non-issue if you don't actually have a game to package. Write the game, learn what you need to along the way, and by the end of it, if you've not learned enough to package the game I'd be very suprised.

Regardless... good luck