Click here to Skip to main content
15,895,794 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: What if I write Interface defination inside a library block. Pin
Stephen Hewitt27-Apr-09 0:14
Stephen Hewitt27-Apr-09 0:14 
AnswerRe: What if I write Interface defination inside a library block. Pin
Stuart Dootson27-Apr-09 0:34
professionalStuart Dootson27-Apr-09 0:34 
QuestionOXCaptionPainter error message that, 'CPushRoutingFrame' : 'class' type redefinition Pin
NamitaS26-Apr-09 23:53
NamitaS26-Apr-09 23:53 
AnswerRe: OXCaptionPainter error message that, 'CPushRoutingFrame' : 'class' type redefinition Pin
Cedric Moonen27-Apr-09 0:03
Cedric Moonen27-Apr-09 0:03 
GeneralRe: OXCaptionPainter error message that, 'CPushRoutingFrame' : 'class' type redefinition Pin
NamitaS27-Apr-09 1:42
NamitaS27-Apr-09 1:42 
GeneralRe: OXCaptionPainter error message that, 'CPushRoutingFrame' : 'class' type redefinition Pin
Cedric Moonen27-Apr-09 1:57
Cedric Moonen27-Apr-09 1:57 
GeneralRe: OXCaptionPainter error message that, 'CPushRoutingFrame' : 'class' type redefinition Pin
NamitaS27-Apr-09 2:12
NamitaS27-Apr-09 2:12 
GeneralRe: OXCaptionPainter error message that, 'CPushRoutingFrame' : 'class' type redefinition Pin
Cedric Moonen27-Apr-09 2:33
Cedric Moonen27-Apr-09 2:33 
NamitaS wrote:
Is this the cause of error that I am including the OXCaptionPainter.h file twice. First time in MainDlg.cpp and
second time it is included in OXCaptionPainter.cpp.


Was it a question ? Anyway, the source of your error is that you didn't put include guards in your header file. The purpose of include guards is to protect against multiple inclusions. It would be really a hassle if you had to make sure your file is included only once...

Cédric Moonen
Software developer

Charting control [v2.0]
OpenGL game tutorial in C++

AnswerRe: OXCaptionPainter error message that, 'CPushRoutingFrame' : 'class' type redefinition Pin
NamitaS27-Apr-09 3:02
NamitaS27-Apr-09 3:02 
QuestionInstall ActiveX in non admin Pin
p_196026-Apr-09 22:18
p_196026-Apr-09 22:18 
AnswerCross Posted Pin
led mike27-Apr-09 4:36
led mike27-Apr-09 4:36 
Questionhow to get gps value Pin
yunpil26-Apr-09 21:07
yunpil26-Apr-09 21:07 
AnswerRe: how to get gps value Pin
ThatsAlok26-Apr-09 21:16
ThatsAlok26-Apr-09 21:16 
AnswerRe: how to get gps value Pin
CPallini26-Apr-09 21:44
mveCPallini26-Apr-09 21:44 
GeneralRe: how to get gps value Pin
Hamid_RT27-Apr-09 4:31
Hamid_RT27-Apr-09 4:31 
GeneralRe: how to get gps value Pin
CPallini27-Apr-09 7:18
mveCPallini27-Apr-09 7:18 
GeneralRe: how to get gps value Pin
Hamid_RT27-Apr-09 8:36
Hamid_RT27-Apr-09 8:36 
AnswerRe: how to get gps value Pin
Rajesh R Subramanian26-Apr-09 22:14
professionalRajesh R Subramanian26-Apr-09 22:14 
QuestionCOleDateTime problem Pin
Davitor26-Apr-09 20:08
Davitor26-Apr-09 20:08 
AnswerRe: COleDateTime problem Pin
_AnsHUMAN_ 26-Apr-09 20:32
_AnsHUMAN_ 26-Apr-09 20:32 
GeneralRe: COleDateTime problem Pin
Davitor26-Apr-09 20:36
Davitor26-Apr-09 20:36 
GeneralRe: COleDateTime problem Pin
_AnsHUMAN_ 26-Apr-09 20:39
_AnsHUMAN_ 26-Apr-09 20:39 
GeneralRe: COleDateTime problem Pin
Davitor26-Apr-09 21:30
Davitor26-Apr-09 21:30 
QuestionERROR 'strcpy' : cannot convert parameter 1 from 'TCHAR [20]' to 'char *' Pin
Purish Dwivedi26-Apr-09 19:51
Purish Dwivedi26-Apr-09 19:51 
AnswerRe: ERROR 'strcpy' : cannot convert parameter 1 from 'TCHAR [20]' to 'char *' Pin
_AnsHUMAN_ 26-Apr-09 19:56
_AnsHUMAN_ 26-Apr-09 19:56 

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.