Solved

Compile error with VC++ 6.0

Posted on 2000-03-03
1
182 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

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Issue accessing member variable of atomic class 16 116
computer science syllabus 3 83
Least Squares Curve Fitting 4 81
Header of docx file 17 103
When writing generic code, using template meta-programming techniques, it is sometimes useful to know if a type is convertible to another type. A good example of when this might be is if you are writing diagnostic instrumentation for code to generat…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
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.
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

831 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