Solved

Compile error with VC++ 6.0

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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Often, when implementing a feature, you won't know how certain events should be handled at the point where they occur and you'd rather defer to the user of your function or class. For example, a XML parser will extract a tag from the source code, wh…
This article shows you how to optimize memory allocations in C++ using placement new. Applicable especially to usecases dealing with creation of large number of objects. A brief on problem: Lets take example problem for simplicity: - I have a G…
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 technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.

828 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