help on creating an object of DirectoryListingFrame

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

Moderator: Moderators

Locked
deli
Posts: 1
Joined: 2003-05-06 02:31

help on creating an object of DirectoryListingFrame

Post by deli » 2003-05-10 12:19

hi there,

first of all i want to mention that i've downloaded the code and i can compile and link it succesfully. now i want to modify it, i want to create an object of class DirectoryListingFrame in Client.cpp, but i have some problems.

if i dont include any extra thing it gives the error: 'error 2065: 'DirectoryListingFrame' : undeclared identifier'

if i include "../windows/DirectoryListingFrm.h" it gives the error: 'error C2146: syntax error : missing ';' before identifier 'FlatTabCtrlImpl'

if i include "../windows/DirectoryListingFrm.cpp" it compiles client with a couple of warnings but it does not link and gives lots of error like : 'client.lib(Client.obj) : error LNK2005: "public: long __thiscall DirectoryListingFrame::onContextMenu(unsigned int,unsigned int,long,int &)" (?onContextMenu@DirectoryListingFrame@@QAEJIIJAAH@Z) already defined in DirectoryListingFrm.obj'

if anyone figure out what i made wrong please let me know.

by the way i am compiling it on visual studio .net

thanks alot.
deli

Locked