Click here to Skip to main content
15,917,618 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionWhich message the Windows sent indication the creation of a new file to Explorer windows Pin
Nitheesh George11-May-08 21:36
Nitheesh George11-May-08 21:36 
AnswerRe: Which message the Windows sent indication the creation of a new file to Explorer windows Pin
Naveen11-May-08 21:45
Naveen11-May-08 21:45 
GeneralRe: Which message the Windows sent indication the creation of a new file to Explorer windows Pin
Nitheesh George11-May-08 22:18
Nitheesh George11-May-08 22:18 
QuestionClass ProtoType Pin
dehseth11-May-08 21:30
dehseth11-May-08 21:30 
QuestionRe: Class ProtoType Pin
CPallini11-May-08 21:41
mveCPallini11-May-08 21:41 
AnswerRe: Class ProtoType Pin
dehseth11-May-08 22:23
dehseth11-May-08 22:23 
GeneralRe: Class ProtoType Pin
CPallini11-May-08 22:50
mveCPallini11-May-08 22:50 
QuestionRe: Class ProtoType Pin
dehseth12-May-08 1:35
dehseth12-May-08 1:35 
ok! I got a lil bit confused right now... You sound right. I need to include header files.. Well I did writye the source code bottom of header files which is wrong, I get that now!

Now my problem continues... These are the files I have got:

Main.cpp
Child.cpp
MSFLexGrid.cpp
Application.cpp


I include header files in each of them correctly. Compling each one one by one does not create any errors. But when I do Build, if says

error LNK2005: "int __cdecl getSize(char *)" (?getSize@@YAHPAD@Z) already defined in App.obj


cause it's already included in cpp file... So Do I have to write

#ifndef

directives to each header file Confused | :confused:

How can I build without having any linker errors??
Thanks... Smile | :)
QuestionRe: Class ProtoType Pin
CPallini12-May-08 2:08
mveCPallini12-May-08 2:08 
GeneralRe: Class ProtoType Pin
dehseth12-May-08 2:55
dehseth12-May-08 2:55 
AnswerRe: Class ProtoType Pin
Rajkumar R11-May-08 21:43
Rajkumar R11-May-08 21:43 
GeneralRe: Class ProtoType Pin
dehseth11-May-08 22:16
dehseth11-May-08 22:16 
GeneralRe: Class ProtoType Pin
Rajkumar R11-May-08 22:27
Rajkumar R11-May-08 22:27 
QuestionMFC Problem with writing file Pin
mihai12311-May-08 21:16
mihai12311-May-08 21:16 
AnswerRe: MFC Problem with writing file Pin
Naveen11-May-08 21:25
Naveen11-May-08 21:25 
GeneralRe: MFC Problem with writing file Pin
mihai12311-May-08 22:10
mihai12311-May-08 22:10 
QuestionSkin Pin
john563211-May-08 21:06
john563211-May-08 21:06 
AnswerRe: Skin Pin
Hamid_RT11-May-08 21:10
Hamid_RT11-May-08 21:10 
QuestionRe: Skin Pin
Rajesh R Subramanian11-May-08 22:53
professionalRajesh R Subramanian11-May-08 22:53 
QuestionCreateThread and AfxBeginThread Pin
tom groezer11-May-08 20:54
tom groezer11-May-08 20:54 
AnswerRe: CreateThread and AfxBeginThread Pin
Hamid_RT11-May-08 21:17
Hamid_RT11-May-08 21:17 
AnswerRe: CreateThread and AfxBeginThread Pin
CPallini11-May-08 21:20
mveCPallini11-May-08 21:20 
AnswerRe: CreateThread and AfxBeginThread Pin
ShilpiP11-May-08 22:55
ShilpiP11-May-08 22:55 
AnswerRe: CreateThread and AfxBeginThread Pin
Mark Salsbery12-May-08 6:13
Mark Salsbery12-May-08 6:13 
QuestionRetrieve Record number ( ODBC Api) [modified] Pin
nitin311-May-08 20:16
nitin311-May-08 20:16 

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.