Solved

Compile error with VC++ 6.0

Posted on 2000-03-03
1
180 Views
Last Modified: 2010-04-02
When compiling my ocx I get:

error LNK2001: unresolved external symbol "long __cdecl APP_OpenAPP(long)" (?APP_OpenAPP@@YAJJ@Z)

My ocx is calling a dll that has function APP_OpenApp.

Any leads?

Didou

0
Comment
Question by:didou
1 Comment
 
LVL 32

Accepted Solution

by:
jhance earned 50 total points
ID: 2581797
Why don't you waste a few more of your points and post thes question a few more times?

Delete the duplicates and get your points back.

This error means that your ocx is referencing the function APP_OpenAPP but that you didn't provide it in any of the link libraries you specified to the linker.

If this function is in a DLL, you should have the  import library (.lib) file for the DLL.  Link your app with this library.  If you don't have a .lib file, you'll have to either make one yourself or do it the hard way with LoadLibrary() and GetProcAddress().
0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

What is C++ STL?: STL stands for Standard Template Library and is a part of standard C++ libraries. It contains many useful data structures (containers) and algorithms, which can spare you a lot of the time. Today we will look at the STL Vector. …
Container Orchestration platforms empower organizations to scale their apps at an exceptional rate. This is the reason numerous innovation-driven companies are moving apps to an appropriated datacenter wide platform that empowers them to scale at a …
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 additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

746 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now