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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T03:25:03+00:00 2026-06-10T03:25:03+00:00

Howdi folks. I’m currently in the process of creating a shared library (aka DLL

  • 0

Howdi folks. I’m currently in the process of creating a “shared” library (aka DLL on windows) which in turn would rely on “Boost C++” libraries for date time features. I have noticed that my Boost installation (done via Boostpro) has some DLL and LIB files in the lib directory of the boost installation. OK, I thought there were required so I added them to the library dependencies in my IDE.

Now what I do is write code which uses boost date time library, create a shared library and use it from a standalone executable. It works, even though I have just copied the shared library I created into the executable folder and not the boost_date_time-vc100-mt-1_47.dll file. Strange. Now what I do is remove the DLL/library dependency of Boost from my project and build the shared library. It still works.

I’m a bit confused. If the Boost libraries are really header only, why does my Boostpro installation have *.lib and *.dll files for datetime and other boost parts? Is there any scenario I’d want to use them given that those boost libraries anyways get compiled into my shared library?

Hope I was clear enough, please let me know if more clarifications are required. Also FWIW, I’m using Eclipse CDT + MingW for all this.

  • 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-10T03:25:04+00:00Added an answer on June 10, 2026 at 3:25 am

    Most parts of Boost are header-only while some other parts (at least filesystem and iostreams IIRC) require to link libraries. So it all depends on which parts of Boost you use. Which parts require linking is documented on the Boost Library Documentation page.

    Some libraries use automatic linking. That means the header files contain compiler-specific code to embed instructions to link in the right libraries into the object files. This is an useful feature that has to be supported by the compiler. The gcc toolchains (including MingW) don’t support that though.

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

Sidebar

Related Questions

I would like to slice random letters from a string. Given s="howdy" I would
I'm trying to understand how DI exactly works. I'm currently using Windsor as DI
Howdy, I'm writing a batch script that will run on a Windows XP machine.
Hi there I just want to create a simple golang applications, which posts a
Howdy all. I am trying to solve a problem which is apparently not uncommon
Howdy, I want to make a dynamically filled Menu in Windows Phone 7. I
Howdy, I would like to generate in my application several PivotItems in a pivotelement.
Howdy, I'm generating a bunch of Textblocks in a StackPanel. I would love to
Howdy guys, im having trouble finding help on creating a callback in certain situations.
Howdy. I am in a networking class and we are creating our own networking

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.