Jump to content
  • Advertisement

Archived

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

SpreeTree

dll linking question

This topic is 5147 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

I am making a small application that links to a few dll''s created by myself. I am statically linking to the dll''s, as they always need to be present, so dynamically linking to them seems like a waste of time. To use the dll, I have to include the dll''s .lib file with the project. All I am wondering is... Does this lib file just decare the symbols, while the actual definitions are contained within the dll file? I assume this is the case, because if it wasn''t then the point of the dll would be lost, as I would have to recompile the application everything something changed within the dll, rather than just replacing the dll. Thanks in advance Spree

Share this post


Link to post
Share on other sites
Advertisement
Yes, the .lib file just contains the symbol list to be imported from the dll. Which means, as long as the exported symbols don''t change for the dll, a program using an old lib file will link to a newer dll without issues.

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.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!