Click here to Skip to main content
15,896,063 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Inclusion of header files Pin
CPallini20-Nov-08 0:53
mveCPallini20-Nov-08 0:53 
GeneralRe: Inclusion of header files Pin
Taruni20-Nov-08 1:05
Taruni20-Nov-08 1:05 
AnswerRe: Inclusion of header files Pin
krmed20-Nov-08 0:56
krmed20-Nov-08 0:56 
GeneralRe: Inclusion of header files Pin
Taruni20-Nov-08 1:02
Taruni20-Nov-08 1:02 
AnswerRe: Inclusion of header files Pin
David Crow20-Nov-08 4:24
David Crow20-Nov-08 4:24 
QuestionRe: Inclusion of header files Pin
David Crow20-Nov-08 4:29
David Crow20-Nov-08 4:29 
AnswerRe: Inclusion of header files Pin
Taruni20-Nov-08 17:27
Taruni20-Nov-08 17:27 
GeneralRe: Inclusion of header files Pin
David Crow21-Nov-08 2:40
David Crow21-Nov-08 2:40 
Taruni wrote:
If I include those header files in .cpp file, then the compiler generates the error as it doesn't find the header file for CObject in MyClass.h file.


Which is why I asked what the stdafx.h file looks like.

At this point, I would create a "dummy" MFC project, and then create your new class via Insert --> New Class. In the Class Type combobox, select Generic Class. In the Derived From box, type CObject. Study the contents of the files created.

"Love people and use things, not love things and use people." - Unknown

"The brick walls are there for a reason...to stop the people who don't want it badly enough." - Randy Pausch


QuestionOpen-Source Antivirus Project Pin
whitewolf8819-Nov-08 22:55
whitewolf8819-Nov-08 22:55 
AnswerWrong forum Pin
CPallini19-Nov-08 23:29
mveCPallini19-Nov-08 23:29 
AnswerRe: Open-Source Antivirus Project Pin
Hamid_RT20-Nov-08 2:16
Hamid_RT20-Nov-08 2:16 
Question[Message Deleted] Pin
SeshaSridhar19-Nov-08 22:34
SeshaSridhar19-Nov-08 22:34 
AnswerRe: How to post a screen shot in code project Pin
Cedric Moonen19-Nov-08 23:25
Cedric Moonen19-Nov-08 23:25 
AnswerRe: How to post a screen shot in code project Pin
CPallini19-Nov-08 23:25
mveCPallini19-Nov-08 23:25 
QuestionCProgressCtrl Pin
josip cagalj19-Nov-08 22:23
josip cagalj19-Nov-08 22:23 
QuestionRe: CProgressCtrl Pin
Roger Stoltz20-Nov-08 1:08
Roger Stoltz20-Nov-08 1:08 
AnswerRe: CProgressCtrl Pin
josip cagalj20-Nov-08 1:20
josip cagalj20-Nov-08 1:20 
AnswerRe: CProgressCtrl Pin
Roger Stoltz20-Nov-08 1:36
Roger Stoltz20-Nov-08 1:36 
QuestionHow to create Middleware application between our own client and server for monitoring the data. Pin
Member 462021619-Nov-08 20:42
Member 462021619-Nov-08 20:42 
AnswerRe: How to create Middleware application between our own client and server for monitoring the data. Pin
Iain Clarke, Warrior Programmer19-Nov-08 21:46
Iain Clarke, Warrior Programmer19-Nov-08 21:46 
QuestionSerializing the objects of a class Pin
Taruni19-Nov-08 20:23
Taruni19-Nov-08 20:23 
AnswerRe: Serializing the objects of a class Pin
Cedric Moonen19-Nov-08 20:50
Cedric Moonen19-Nov-08 20:50 
Questionxml parsing in MFC Pin
AnithaSubramani19-Nov-08 20:12
AnithaSubramani19-Nov-08 20:12 
AnswerRe: xml parsing in MFC Pin
Cedric Moonen19-Nov-08 20:15
Cedric Moonen19-Nov-08 20:15 
AnswerRe: xml parsing in MFC Pin
Hamid_RT19-Nov-08 20:20
Hamid_RT19-Nov-08 20:20 

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.