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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

unresolved external symbol

Status
Not open for further replies.

BlackDice

Programmer
Mar 1, 2004
257
US
I have a file that is included in a .cpp file and I keep getting this error:

error LNK2001: unresolved external symbol "public: void __thiscall CDBFRecordset::Open(char const *,unsigned int)" (?Open@CDBFRecordset@@QAEXPBDI@Z)


the file is right in the same project directory. anyone know what's going on?

bdiamond
 
> Recordset::Open
Check
- the spelling
- the case
- the parameter types
- the return type

Because of function overloading, very minor differences are perceived as being different functions, and the linker will fail to find it.

You also need to check that you implemented that function. It is not sufficient just to provide a prototype.

--
 
Also you may have to add some .lib files in the linker list of additional libraries. Are you using some FoxPro API there?

Ion Filipski
1c.bmp
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top