Solved

VC++ 6.0 linking problem

Posted on 1999-01-23
1
187 Views
Last Modified: 2010-04-16
I am having trouble linking a library into an application.
The library is included in the project settings tab and the
include file for the library has a extern "C" around it's
functions.  The application I am making is to develop an xtra for Macromedia Director.

The link error I am getting is:
VVscript.obj : error LNK2001: unresolved external symbol _SmApiVersionCheck@8

Could anyone tell me why my app is not finding the function definitions?  Thanks.
0
Comment
Question by:croweec
1 Comment
 
LVL 1

Accepted Solution

by:
arbitrary earned 50 total points
ID: 1184926
try using the /FORCE flag on the linkage.
(or from the menus  - projects/settings/link/customize/Force File Output).
if that doesn't work maybe you haven't included the .lib file for that specific library.
check the project settings

0

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Errors will happen. It is a fact of life for the programmer. How and when errors are detected have a great impact on quality and cost of a product. It is better to detect errors at compile time, when possible and practical. Errors that make their wa…
  Included as part of the C++ Standard Template Library (STL) is a collection of generic containers. Each of these containers serves a different purpose and has different pros and cons. It is often difficult to decide which container to use and …
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.

823 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question