Jump to content
  • Advertisement


This topic is now archived and is closed to further replies.


a dll question

This topic is 6209 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

1) The entire DLL.
2) Yes, noone is using overlays anymore.

And the OS is always free to send memory pages to disk swap if it runs out of RAM.

Share this post

Link to post
Share on other sites
Not true actually. The DLL is demand paged into memory. So, if there is a part of the DLL that you don''t use, then it is never actually loaded off the disk. The DLL is memory mapped, so depending on the internals of the mem mapping APIs on Win32, the entire range of pages for the DLL is probably reserved, but only commited and paged in from disk when they each page is accessed.

Of course, for all intensive purposes, and probably as far as anyone cares, the entire DLL is loaded =) meaning that you don''t have to explicitly load pieces of it yourself.

EXE''s are the same (demand paged from disk).

A good example of this is wrt resources. If you have a big .AVI file in your resources, it wont actually take up physical memory until you try to access it, at which point it will be loaded (and stay resident until the process exits).


Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!