Click here to Skip to main content
15,916,417 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Defining my own escape sequences? Pin
Zac Howland9-Jun-06 8:18
Zac Howland9-Jun-06 8:18 
GeneralRe: Defining my own escape sequences? Pin
David Crow9-Jun-06 8:31
David Crow9-Jun-06 8:31 
GeneralRe: Defining my own escape sequences? Pin
CoffeeAddict1910-Jun-06 7:13
CoffeeAddict1910-Jun-06 7:13 
GeneralRe: Defining my own escape sequences? Pin
David Crow12-Jun-06 2:32
David Crow12-Jun-06 2:32 
AnswerRe: Defining my own escape sequences? Pin
Zac Howland9-Jun-06 8:03
Zac Howland9-Jun-06 8:03 
QuestionRefresh/update Dialogs in TabCtrl ??? Pin
embeddedDude9-Jun-06 5:59
embeddedDude9-Jun-06 5:59 
QuestionNT Services with ADO Pin
almc9-Jun-06 5:22
almc9-Jun-06 5:22 
QuestionLinker Error 2001, yet again Pin
Fariborz_579-Jun-06 5:13
Fariborz_579-Jun-06 5:13 
Hello People
I need help with a linker problem that I can’t solve. I am working on a project that is comprised of 3 static libraries and the main application. Workspace is comprised of 4 projects, 3 corresponding to the libraries and one project for the main application. When I compile and run in Debug Mode everything is fine. When I try to compile for Release mode, I get linker errors as follows:

CVGw32Doc.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall CVGw32Doc::OnSaveDocument(char const *)" (?OnSaveDocument@CVGw32Doc@@UAEHPBD@Z)
CVGw32Doc.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall CVGw32Doc::OnOpenDocument(char const *)" (?OnOpenDocument@CVGw32Doc@@UAEHPBD@Z)
CVGw32Doc.obj : error LNK2001: unresolved external symbol "public: bool __thiscall CVGw32Doc::MyEmptyDatabase(void)" (?MyEmptyDatabase@CVGw32Doc@@QAE_NXZ)

All the errors are related to the document object in the main application. The first two errors are related to the virtual functions that have been overwritten and the last function is a public member of my own code. I have read all the online help of MSDN for this error and nothing at all seems to make sense, especially as two of the functions are part of standard library.

I have no idea why the linker can not find the code from the libraries supplied as part of the compiler. The same error persists in VC++ version 6 and the 2005 edition. I even made an application and added all files to a single application instead of using the libraries and the same thing still happens. All classes are there, nothing is missing. I have no idea what is happening.

Any help is appreciated.


Fariborz Nouri
AnswerRe: Linker Error 2001, yet again Pin
Zac Howland9-Jun-06 5:44
Zac Howland9-Jun-06 5:44 
Question_Iterator_base sometimes struct, sometimes class Pin
Federico Milano9-Jun-06 4:51
Federico Milano9-Jun-06 4:51 
Questionproblem with dialog procedure Pin
fury 849-Jun-06 4:47
fury 849-Jun-06 4:47 
AnswerRe: problem with dialog procedure Pin
David Crow9-Jun-06 5:28
David Crow9-Jun-06 5:28 
GeneralRe: problem with dialog procedure Pin
fury 849-Jun-06 10:41
fury 849-Jun-06 10:41 
GeneralRe: problem with dialog procedure Pin
David Crow9-Jun-06 10:46
David Crow9-Jun-06 10:46 
AnswerRe: problem with dialog procedure Pin
Viorel.9-Jun-06 5:38
Viorel.9-Jun-06 5:38 
GeneralRe: problem with dialog procedure Pin
fury 849-Jun-06 10:48
fury 849-Jun-06 10:48 
Questioncontrol Pin
yogendra kaushik9-Jun-06 4:22
yogendra kaushik9-Jun-06 4:22 
AnswerRe: control Pin
David Crow9-Jun-06 4:31
David Crow9-Jun-06 4:31 
Questionproblem in inserting image into the database Pin
maharaja pandian9-Jun-06 4:14
maharaja pandian9-Jun-06 4:14 
AnswerRe: problem in inserting image into the database Pin
David Crow9-Jun-06 4:36
David Crow9-Jun-06 4:36 
GeneralRe: problem in inserting image into the database Pin
maharaja pandian9-Jun-06 20:26
maharaja pandian9-Jun-06 20:26 
AnswerRe: problem in inserting image into the database Pin
Viorel.9-Jun-06 4:40
Viorel.9-Jun-06 4:40 
GeneralRe: problem in inserting image into the database Pin
maharaja pandian9-Jun-06 20:25
maharaja pandian9-Jun-06 20:25 
QuestionProblem Writing bitmap info File Pin
Reji_Kumar9-Jun-06 4:08
Reji_Kumar9-Jun-06 4:08 
AnswerRe: Problem Writing bitmap info File Pin
Viorel.9-Jun-06 4:31
Viorel.9-Jun-06 4:31 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.