Click here to Skip to main content
15,905,508 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: already defined in .obj [MOD] Pin
Programm3r13-Apr-07 1:15
Programm3r13-Apr-07 1:15 
GeneralRe: already defined in .obj (modified: some addendum) Pin
Programm3r12-Apr-07 22:35
Programm3r12-Apr-07 22:35 
AnswerRe: already defined in .obj Pin
Don Box12-Apr-07 22:34
Don Box12-Apr-07 22:34 
QuestionRe: already defined in .obj Pin
Programm3r12-Apr-07 22:36
Programm3r12-Apr-07 22:36 
GeneralRe: already defined in .obj Pin
cp987612-Apr-07 22:39
cp987612-Apr-07 22:39 
GeneralRe: already defined in .obj Pin
Programm3r12-Apr-07 22:41
Programm3r12-Apr-07 22:41 
QuestionHow to add data to a grid [modified] Pin
engilela12-Apr-07 21:20
engilela12-Apr-07 21:20 
QuestionLinker Error Pin
Programm3r12-Apr-07 19:59
Programm3r12-Apr-07 19:59 
Hi all,

Take the following into consederation:
header file
class ftp :
	public ftpHook
{
public:
    int ftp_FileExists(LPSTR Filename);
    LPSTR ftp_StrChr(LPSTR StringPtr, char Ch);
};


cpp file
#include "ftp.h"
int ftp::ftp_FileExists(LPSTR Filename)
{
  Ptr = ftp_StrChr(PathBuffer+lstrlen((LPSTR)LocalDir)+1,':');
  //some code ....
}
</code>


But I keep receiving the following error:

Error 1 error LNK2019: unresolved external symbol "public: char * __thiscall ftp::ftp_StrChr(char *,char)" (?ftp_StrChr@ftp@@QAEPADPADD@Z) referenced in function "public: int __thiscall ftp::ftp_FileExists(char *)" (?ftp_FileExists@ftp@@QAEHPAD@Z) ftp.obj

Can anyone please help me.
Many Thanks.
Regards,




The only programmers that are better than C programmers are those who code in 1's and 0's..... Smile | :)

Smile | :) Programm3r

My Blog: ^_^

AnswerRe: Linker Error Pin
Programm3r12-Apr-07 20:02
Programm3r12-Apr-07 20:02 
AnswerRe: Linker Error Pin
Arman S.12-Apr-07 20:06
Arman S.12-Apr-07 20:06 
GeneralRe: Linker Error Pin
Programm3r12-Apr-07 20:13
Programm3r12-Apr-07 20:13 
Questionsplit file by play length Pin
anu jaggi12-Apr-07 18:59
anu jaggi12-Apr-07 18:59 
AnswerRe: split file by play length Pin
Arman S.12-Apr-07 20:23
Arman S.12-Apr-07 20:23 
Questionicon disappears in win 2k Pin
ghunzel0612-Apr-07 17:25
ghunzel0612-Apr-07 17:25 
AnswerRe: icon disappears in win 2k Pin
Arman S.12-Apr-07 20:18
Arman S.12-Apr-07 20:18 
QuestionDevice List Pin
Xarzu12-Apr-07 16:11
Xarzu12-Apr-07 16:11 
AnswerRe: Device List Pin
bob1697212-Apr-07 16:27
bob1697212-Apr-07 16:27 
Questionfile input help Pin
Ackmm712-Apr-07 16:08
Ackmm712-Apr-07 16:08 
AnswerRe: file input help Pin
CPallini12-Apr-07 20:56
mveCPallini12-Apr-07 20:56 
QuestionAccessing CView from CDialog MFC??? Pin
bimgot12-Apr-07 15:24
bimgot12-Apr-07 15:24 
AnswerRe: Accessing CView from CDialog MFC??? Pin
bob1697212-Apr-07 16:44
bob1697212-Apr-07 16:44 
GeneralRe: Accessing CView from CDialog MFC??? Pin
ksrameshkanth12-Apr-07 19:35
ksrameshkanth12-Apr-07 19:35 
GeneralRe: Accessing CView from CDialog MFC??? Pin
bimgot13-Apr-07 2:30
bimgot13-Apr-07 2:30 
GeneralRe: Accessing CView from CDialog MFC??? Pin
JudyL_MD13-Apr-07 2:46
JudyL_MD13-Apr-07 2:46 
GeneralRe: Accessing CView from CDialog MFC??? Pin
bob1697213-Apr-07 3:22
bob1697213-Apr-07 3:22 

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.