Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7001865
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T20:51:25+00:00 2026-05-27T20:51:25+00:00

This question is regarding dynamic linking of libraries and usage of dynamic linking of

  • 0

This question is regarding dynamic linking of libraries and usage of dynamic linking of libraries in application.

For example we are devloping an application using C++ using Visual studio environment.

Here for include header files we specify in Additional Include Directories, and
in Additional Dependencies: Mylibrary.lib
in Additional Libraries Directories: We specifies path of libraries

And in Windows we also have “LoadLibrary” API which is used to load dynamically linked ibrary.

My question is

  1. when we include dll in Additional dependencies libraries why we should use “LoadLibrary” API?
  2. When we should use “LoadLibrary” API?

Thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T20:51:26+00:00Added an answer on May 27, 2026 at 8:51 pm

    Imagine that you have a software that for example needes at a determined time to convert
    Internet network address into strings.
    On windows vista or later you can use the “InetNtop” function that is also able to deal with ipv6, but if you link directly to the DLL your program will no work on lower OS (ex: windows xp).
    So the best solution would probably be making 2 DLL’s one that used “InetNtop” and another that used for example “inet_ntoa”.
    Then your “main” program would do at runtime a LoadLibrary of the “InetNtop DLL”, or the “inet_ntoa DLL”, according to the OS that he his installed.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Yesterday I posted this question regarding using lambdas inside of a Join() method to
Sorry, this became a 3-fold question regarding arrays I think (dynamic) arrays are truly
I have a question regarding using some features from the System.Linq.Dynamic assembly. I needed
I know the difference between static and dynamic linking, and this isn't another question
Yesterday, I asked this question regarding best practices for a simple information retrieval system
This question is regarding getopt function in php. I need to pass two parameter
This is a question regarding Unix shell scripting (any shell), but any other "standard"
This is a question regarding the timezone specified in the Expires and Last-Modified HTTP
Again I have a question regarding this plugin: http://t.wits.sg/2008/06/20/jquery-progress-bar-11/ What I want to achieve
There are many question regarding this topic but there is no clear answer. Although

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.