Sign in to follow this  
zyrolasting

[C++] What's the point of DLL implicit linking?

Recommended Posts

MJP    19788
The idea is that you get the best of both worlds. You're still using a modular DLL which means you can do things like delay loading, but you don't have to go through the nastiness of calling LoadLibrary and GetProcAddress to call exported functions.

Share this post


Link to post
Share on other sites
Quote:
Original post by MJP
You're still using a modular DLL which means you can do things like delay loading, but you don't have to go through the nastiness of calling LoadLibrary and GetProcAddress
How do you do that? To my knowledge, the loader will load and resolve all symbols at startup. The only thing that you can delay is paging in the actual code, but that's done with all pages in any executable anyway.

Is there a "secret handshake" that you can use to actually delay loading and not needing to look up symbols by hand?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this