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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T21:02:42+00:00 2026-05-30T21:02:42+00:00

I am building a Visual C++ 6.0 workspace in Visual Studio 2010, so that

  • 0

I am building a Visual C++ 6.0 workspace in Visual Studio 2010, so that it’ll update some dependencies

I have all the files and dll’s it is looking for, it builds but then fails at linking with this error

1>LINK : fatal error LNK1181: cannot open input file '\Projects\exe\CRelease/api.lib'

I have api.dll which it needs to build, but I don’t have a .lib file version of it. and even if I did (like if I somehow converted the .dll into a .lib), I wouldn’t know where to place it in a directory structure

how do I “fix” this?

guidance appreciated, thank you

  • 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-30T21:02:44+00:00Added an answer on May 30, 2026 at 9:02 pm

    Normally api.dll would have an accompanying import library called api.lib which is what you need to link to. The import library is different to a statically-compiled version of api (which would also likely be called api.lib) – it’s more like a list of available functions provided by the dll, and so will usually be much smaller than a corresponding static library.

    If you do find or get api.lib, it doesn’t really matter where it lives, as long as it can be accessed by your linker.

    If you don’t find the import library, you’re looking at doing explicit run-time linking where api.dll is loaded and unloaded explicitly in your code, and api‘s exported functions are called through function pointers.

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

Sidebar

Related Questions

I have a Visual Studio 2010 MVC2 web application that I'm building via the
I have to port the build of a DLL from building in Visual Studio
I'm building a c++ DLL in visual studio 2008. For some reason, even when
Possible Duplicate: Visual studio keeps building everything I have a project that includes an
Building a solution from Visual Studio in mono develop seems to have some issues.
When building a Windows Forms project in Visual Studio 2010 I have a following
I've got a C# project in visual studio that is building a DLL, and
I'm building an application using Visual Studio 2010 in which I have to use
I have this C# Visual Studio solution that implements a plugin architecture. When building
Some time ago I got this error when building ANY Visual Studio Deployment project.

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.