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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T02:29:35+00:00 2026-06-11T02:29:35+00:00

I am trying to solve following linking error for past few days, But I

  • 0

I am trying to solve following linking error for past few days, But I have no clue yet. VS and window sdk installation I guess is fine because there are 100’s other projects that are being built successfully. What exactly I have done is; I have made a VC console project and imported legacy code in it and linked it with lot of static libraries. Code has _tmain routine in it and executes on console, i know that because I have the executable some previous build. Please let me know where should I look into

------ Build started: Project: s5kcgm2, Configuration: Release Win32 ------
Linking...
MSVCRT.lib(crtexe.obj) : error LNK2001: unresolved external symbol __imp__InterlockedCompareExchange@12
C:\Ti\convert\s5kcgm\src\lib\Release\s5kcgm2.exe : fatal error LNK1120: 1 unresolved externals
Build log was saved at "file://c:\Ti\convert\s5kcgm\src\image\s5kcgm2\Release\BuildLog.htm"
s5kcgm2 - 2 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 8 up-to-date, 0 skipped ==========
  • 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-11T02:29:37+00:00Added an answer on June 11, 2026 at 2:29 am

    You need to link with kernel32.lib (see the “Library” entry at the bottom of the documentation).

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

Sidebar

Related Questions

I'm trying to solve the following problem in Redis. I have a list that
I am trying to solve the following problem with Puppet: I have multiple nodes.
I am trying to solve the following problem. Lets say you have the the
I'm trying to solve the following problem: I have a download button that when
I'm trying to solve the following problem: Say I have a Python script (let's
I am trying to solve the following problem but cannot find an elegant solution.
I am trying to solve the following problem. I have the following constants in
I am trying to solve the following problem. I have an application which uses
I have the following problem which I'm trying to solve with javascript. I have
I am trying to solve the following problem. Assume I have a HTML file

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.