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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T15:50:12+00:00 2026-06-11T15:50:12+00:00

I walked through this tutorial and tried to recreate the example I get this

  • 0

I walked through this tutorial and tried to recreate the example I get this error:

Error   1   error LNK2019: unresolved external symbol __imp__GetXyz@0 referenced in function _main  app.obj app

If I download the source from the website and run the project in visual studio it works, but If I even copy the code from the original project in my own visual studio solution it still doesn’t work. I guess it must be some project settings, I don’t know. What do do?

  • 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-11T15:50:13+00:00Added an answer on June 11, 2026 at 3:50 pm

    You need to add the XyzLibrary.lib to your Linker settings within project settings.

    You can also do it directly in code by using #pragma comment(lib,"xyzlibrary.lib") if you are using VisualStudio.

    The reason why it works in the given sample without these 2 approaches is that in the solution file, the dependencies are set from XyzExe to XyzLib, and XyzProject has ‘Link Library Dependencies’ in Linker settings set to true. However, I am not too keen on this approach, as I don’t like to store data important for building inside solution files (for larger projects, developer’s solution files can differ from build system solution files)

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

Sidebar

Related Questions

I've been following this tutorial: http://emumair.wordpress.com/2011/03/17/social-network-authentication-with-omniauth-and-authlogic/ . I've walked through it all and I'm
I followed this guide: http://wiki.unto.net/setting-up-clojure-and-slime Which walked me through the steps of building Clojure
This is my first tabbed application for Android. I walked through the HelloTabWidget app
There's a great tutorial on IBM's website which walked me through a simple search/results
I walked through this article http://thiranjith.wordpress.com/2010/09/14/how-to-setup-zend-framework-with-apache-on-windows/ to setup Zend Framework with Apache 2.2 on
Today I walked to through the process of getting my iOS device connected to
I've hit this one a couple of times in the past and never walked
I have a C++ program that is giving this error as soon as the
my app needs to display data in a list, I walked through some tutorials
Each time i get this problem.. but the old fix doesn't work this time...

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.