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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T08:21:20+00:00 2026-05-28T08:21:20+00:00

Kind of a simple question, but when I compile an application I’d like to

  • 0

Kind of a simple question, but when I compile an application I’d like to make it so the user doesn’t need all the dll’s/shared objects and can just have one standalone executable. How do I do this? Either in a Makefile or in CodeBlocks’ settings.

  • 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-28T08:21:21+00:00Added an answer on May 28, 2026 at 8:21 am

    If you have the source, or if you have the right kind of .lib file, you can statically link. (Note, however, that DLLs also sometimes come with a .lib file, and that file is just a shim for calling into the DLL.) If you can statically link, you’ll have a single executable.

    Other than that, make an install directory and put the DLL into the same directory as the executable. That’s the easiest way.

    There’s probably a trick where you could inject the DLL into executable and write a custom loader that would act like a DLL, but you really don’t want to go down that path.

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

Sidebar

Related Questions

This may be kind of a simple question, but I haven't seen a direct
it's kind a simple question but i have the doubt see the code belows
Maybe this is a too simple question but I'm kind of stuck here. I've
I know this will look like a stupid simple question to ask but I
This seems like a simple trig question, but for whatever reason, things aren't working
This is kind of a simple question, however, I don't seem to figure out
I have public site with some forms. Simple question: What kind of informations should
Kind of like this question I have many text snippets that I use many,
Pardon the simple question, but I am pulling my hair out trying to get
I know this is kind of a beginners question but my books aren't explaining

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.