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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T11:18:32+00:00 2026-06-15T11:18:32+00:00

I am currently generating a dll file in c++ VS2010 .I had two questions

  • 0

I am currently generating a dll file in c++ VS2010 .I had two questions I wanted to know if I am currently generating a static dll or a dynamic dll ? In my code I have a .def file and all my exported functions are numbered in that def file. Also my functions are being exported using __declspec(dllexport).

  • 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-15T11:18:33+00:00Added an answer on June 15, 2026 at 11:18 am

    When you generate a DLL you will get a Dynamic Link Library. So independent on the method you generate it, it is dynamically loaded.

    But there is a difference how you access the functions from your cosuming application.

    When you use the import library (yourDllName.LIB) the DLL will be loaded when your application is loaded. This gives a similar look&feel as if you would use a static library.

    You can also use LoadLibrary and GetProcAddress to get a pointer to the functions. Then you can call your functions using these pointers to the DLL entrypoints.

    If you choose the module export file (.DEF) ot the __declspec(dllexport) method to put the function to the export table doesn’t care. I recommend using one method to avoid confusion.

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

Sidebar

Related Questions

What I currently have: Generating of texture coordinates given the width and height of
I have a page that is currently generating dynamically created textboxes in a table
I have a lot of legacy code which I currently compile using an antiquated
Currently I have Javascript generating XML with an encoding set to UTF-8, and we've
I am currently generating a sitemap file dynamically using a HttpHandler, with a path
Currently, I am using WP Super Cache plugin which is great for generating static
Currently my visual studio is basically generating Engine.dll and Game.exe Engine.dll links to some
I'm currently trying to consume a FORTRAN DLL that I have been given by
Currently I have some code that is being generated dynamically. In other words, a
I'm currently generating Excel-documents using the Office Object Model. I have a problem with

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.