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

  • Home
  • SEARCH
  • 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 6362883
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T23:57:55+00:00 2026-05-24T23:57:55+00:00

When I use to program in c, the difference between a dynamic library and

  • 0

When I use to program in c, the difference between a dynamic library and a static one was the way you compiled the program in the makefile. Dlls, as we know, are not hard coded into the app, but are in separate files. Which makes them perfect for update and adding functionality to a program. Static libraries on compile time are hard coded into the app. Which is perfect for a behavior that will not need to be changed in the future: like security or basic communication.

I know how to create and call .dll files in c#, but I need to create and use static libraries.
Is there anyway to do this without copy/paste a class library into each project ? I have a lot of projects that use these static libraries, and I want to avoid having to change all class libraries when I introduce a change.

I googled this, but came out with no solution.

Thanks alot…

  • 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-24T23:57:55+00:00Added an answer on May 24, 2026 at 11:57 pm

    The closest you can come is ILMerge – but do you really need this? Unless you have an application which you can deploy as a single executable, it doesn’t much matter whether you have one DLL or ten. I would suggest that for most cases, you should just keep them as normal class libraries.

    Note that ILMerge isn’t quite the same as “static linking” – it still does the job of bundling all the code into a single file, but the linking process in .NET is fundamentally somewhat different to the one for native code.

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

Sidebar

Related Questions

During compilation and linking, what is use of .exp? What is the difference between
So I've got a program that needs to be multilingual. The only difference between
I know that the difference between defines and constants is that constants have type,
For my program I use dynamic URL rewriting with PHP: <IfModule mod_rewrite.c> RewriteEngine On
I want to know what is the actual difference between Application and User scope
I know the difference between Sax and Dom is pretty substantial regarding parsing Xml,
Can anyone tell me the difference between ASCII English Text and ASCII C Program
How do you organize installing different programs if these programs use the same DLLs
My program use UdpClient to try to receive 27 responses from 27 hosts. The
The problem: We use a program written by our biggest customer to receive orders,

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.