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 7814231
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T05:08:13+00:00 2026-06-02T05:08:13+00:00

How does the Visual C++ program load dll’s before entering the main function in

  • 0

How does the Visual C++ program load dll’s before entering the main function in visual studio express 2008? In a project developed by others a dll was loaded by “a.ext:native” but I don’t know how is this configured.

  • 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-06-02T05:08:13+00:00Added an answer on June 2, 2026 at 5:08 am

    There are different ways to instruct the OS to load a DLL. The most common way is to link to a .lib file (through the project’s linker settings), where the .lib is a build-time stub associated with the DLL. When the linker finds this .lib file during the linking stage, it knows that the DLL is required, and modifies the EXE internally to tell the operating system that the DLL must exist in order for the program to run.

    When the program is later run, the operating system first looks for all required DLL’s – even before beginning to execute the code for the program. If any of these DLL’s are missing, the operating system throws an error, an error box pops up, and the program will not run.

    It’s also possible to dynamically load a DLL, but this isn’t all that common.

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

Sidebar

Related Questions

I developed a program in Visual Studio 2010 Express edition. I want to create
Does Visual Studio .NET 2008 come with UISpy? I ask this for for the
With Visual Studio 2010 right around the corner, what does Visual Studio 2008 Professional
does anyone know of a Visual Studio (2008) Plug-in that attempts to track how
I'm trying to debug a C/C++ native DLL project from Visual Studio 2010. I'm
Does Visual C++ runtime imply Windows platform? I mean if I write a program
Does Visual Studio Tools for Office require Office to be installed in order to
Does Visual Studio / Resharper support this? By refactor copy I mean to be
How does visual studio link files to their corresponding designer.cs files? I have a
Short version: Why does Visual Studio tell me that the code has thrown a

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.