weird 'DCPPkPage' error when compiling

Problems compiling? Don't understand the source code? Don't know how to code your feature? Post here.

Moderator: Moderators

Locked
cherrio
Posts: 28
Joined: 2003-02-17 09:02

weird 'DCPPkPage' error when compiling

Post by cherrio » 2003-06-18 09:20

Hi all,

getting this error when trying to compile 2.4.2k,

DCPlusPlus error LNK2001: unresolved external symbol "public: virtual void __thiscall DCPPkPage::write(void)" (?write@DCPPkPage@@UAEXXZ)

DCPlusPlus error LNK2019: unresolved external symbol "public: void __thiscall DCPPkPage::initDialog(void)" (?initDialog@DCPPkPage@@QAEXXZ) referenced in function "public: long __thiscall DCPPkPage::onInitDialog(unsigned int,unsigned int,long,int &)" (?onInitDialog@DCPPkPage@@QAEJIIJAAH@Z)

DCPlusPlus error LNK2019: unresolved external symbol "public: void __thiscall DCPPkPage::updateEdits(void)" (?updateEdits@DCPPkPage@@QAEXXZ) referenced in function "public: long __thiscall DCPPkPage::onUpdateEdits(unsigned short,unsigned short,struct HWND__ *,int &)" (?onUpdateEdits@DCPPkPage@@QAEJGGPAUHWND__@@AAH@Z)


Any ideas how to get rid of these 3? They are the last ones I have!

thx.

Atomic Jo
Posts: 62
Joined: 2003-01-04 03:50
Location: Québec, Canada
Contact:

Post by Atomic Jo » 2003-06-18 09:36

Did the DCPPkPage.cpp (and .h) appear in your DCPlusPlus project ?
If not, try to "add an existant file" in the project window, add them respectivly in the good place (source/header files), clean your project, and then rebuild the project. It should be solved :)

GargoyleMT
DC++ Contributor
Posts: 3212
Joined: 2003-01-07 21:46
Location: .pa.us

Post by GargoyleMT » 2003-06-19 19:57

If you're using VS6, Sarf probably did not include those in the VS6 project files. Do as Atomic Jo says. ;)

Locked