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

The Archive Base Latest Questions

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

Say I have A.lib and B.dll (with its own B.lib ) that are really

  • 0

Say I have A.lib and B.dll (with its own B.lib) that are really the same thing (they share headers and symbols).

I need an application to link with both of them, but I only want to do this through A.lib. Basically, I need the linker to be able to find the symbols exported from B.dll without having to explicitly link with B.lib.

Ideally, I would like to eliminate A.lib altogether and have some code in B.lib and the rest in B.dll.

Edit

My objective is to create a library that can work directly with certain specially-named symbols in applications that link with it, without forcing library users to supply pointers to them. Said symbols (mostly functions) are tool-generated, and so they generally lack any descriptive value in their names (not to mention they’re quite numerous).

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

    You can add a static library project to your solution, say C. With only A.lib and B.lib as additional dependencies, no code. Which runs lib.exe and merges A.lib and B.lib into C.lib. Which any subsequent project can link to.

    Well, that should work as long as you monkey with project dependencies to ensure that everything is built in the right order. The C project depends on A and B, everything that uses C.lib depends on C. Hiding dependencies like this isn’t the greatest practice.

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

Sidebar

Related Questions

Let's say I have a library Lib.dll, which uses Castle.Windsor to initialize its services.
I have two C DLLs that I need to access in the same executable.
say I have jcifs-1.3.14.jar in my lib folder, and I have a class that
Lets say I have this class in foobar-shared.lib: class FooBar { std::string m_helloWorld; }
Say I have a SSI script that uses exec, or a PHP script that
Let's say for example that I have a regular expression like this: The quick
I'm writing a class library (say: lib ) that parses and compiles Razor templates.
I need to create a dynamic library in Android.mk . Say I have the
I have several solutions, each containing multiple projects, that all need to reference a
Say I have a static C++ lib, static.lib and I want to call some

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.