Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

unresolved external symbols

Status
Not open for further replies.

232323

Programmer
May 14, 2001
10
CA
Still trying to make this work, any suggestions to what I should do with the following:

--------------------Configuration: Imp3 - Win32 Debug--------------------
Linking...
Imp3Doc.obj : error LNK2001: unresolved external symbol "public: double __thiscall CImp3Doc::xtract_amt(char *,int)" (?xtract_amt@CImp3Doc@@QAENPADH@Z)
Imp3Doc.obj : error LNK2001: unresolved external symbol "public: char * __thiscall CImp3Doc::WordRead(char *,int)" (?WordRead@CImp3Doc@@QAEPADPADH@Z)
Debug/Imp3.exe : fatal error LNK1120: 2 unresolved externals
Error executing link.exe.

Imp3.exe - 3 error(s), 0 warning(s)

thanks sooo much
 
Maybe you didn't add your cpp implementation to project. John Fill
1c.bmp


ivfmd@mail.md
 
All you have to do is add the the name of the required cpp file in the link tab of the project options.
You don't have to add this file to the project, but make sure that you compile this file before you compile your project!

Welcome to the Pythian Games!
Long live Godess Athena!
dArktEmplAr of Delphi Oracle
 
I did compile my cpp files. All my files are compiling, its just when i compile the whole project those errors occur.
 
If your files are not present in the project (check the tree on the left, and the source files "folder"), you will have to press ALT-F7 (Project->Settings), then go to the link tab add the cpp file names, in the place where all the library files are defined.

HtH Welcome to the Pythian Games!
Long live Godess Athena!
dArktEmplAr of Delphi Oracle
 
All my files are there so that shouldn't be the problem.
 
Do you use templates in these functions? If yes, you have to imlement them in .h file.
 
Hi 232323,

I have the same problem with the linker and my template. I can't figure out why I get the same error. Did you solve this problem ?

Thank you in advance,
Vanleurth
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top