Click here to Skip to main content
15,891,473 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Problem in opening the HTML file. Pin
Christian Graus10-Dec-07 22:19
protectorChristian Graus10-Dec-07 22:19 
QuestionRe: Problem in opening the HTML file. Pin
Hamid_RT11-Dec-07 0:02
Hamid_RT11-Dec-07 0:02 
GeneralRe: Problem in opening the HTML file. Pin
sanjeeva K Kanakam11-Dec-07 20:09
sanjeeva K Kanakam11-Dec-07 20:09 
GeneralRe: Problem in opening the HTML file. Pin
Hamid_RT14-Dec-07 18:39
Hamid_RT14-Dec-07 18:39 
GeneralVirtual Inheritance Pin
Nik123410-Dec-07 21:25
Nik123410-Dec-07 21:25 
GeneralRe: Virtual Inheritance Pin
Cedric Moonen10-Dec-07 21:33
Cedric Moonen10-Dec-07 21:33 
GeneralRe: Virtual Inheritance Pin
Nik123411-Dec-07 1:07
Nik123411-Dec-07 1:07 
GeneralRe: Virtual Inheritance Pin
Cedric Moonen11-Dec-07 1:33
Cedric Moonen11-Dec-07 1:33 
What's the exact error message ? It's really difficult to guess what the problem might be just by looking at your source code (unformatted).


Nik1234 wrote:
The reason I am putting them there is that I only want to include my Base class in the main program. If I remove them, then I have to include all the different files (Derive1, Derive2, Join).


Wrong: you just need to include Join.h because it already includes Derive1 and Derive2 and both of them include Base.h. And in general it is bad design to include the header files of the derived classes in the header of your base class (your base class should't be aware of its derived classes).



Cédric Moonen
Software developer

Charting control [v1.2]

GeneralRe: Virtual Inheritance Pin
Nik123411-Dec-07 1:55
Nik123411-Dec-07 1:55 
Question[Done, may not good enough] GDI+ How to set a region without its constructor? Pin
followait10-Dec-07 20:43
followait10-Dec-07 20:43 
AnswerRe: [Done, may not good enough] GDI+ How to set a region without its constructor? Pin
Mark Salsbery11-Dec-07 6:15
Mark Salsbery11-Dec-07 6:15 
GeneralDeny Taking Ownership Pin
narayanagvs10-Dec-07 19:52
narayanagvs10-Dec-07 19:52 
GeneralProblem using sleep function. [modified] Pin
nitin310-Dec-07 19:21
nitin310-Dec-07 19:21 
GeneralRe: Problem using sleep function. Pin
Llasus10-Dec-07 20:11
Llasus10-Dec-07 20:11 
GeneralRe: Problem using sleep function. Pin
Llasus10-Dec-07 20:53
Llasus10-Dec-07 20:53 
GeneralRe: Problem using sleep function. Pin
Cedric Moonen10-Dec-07 21:09
Cedric Moonen10-Dec-07 21:09 
GeneralRe: Problem using sleep function. Pin
krmed11-Dec-07 2:02
krmed11-Dec-07 2:02 
GeneralWindows Service Help [modified] Pin
narayanagvs10-Dec-07 19:04
narayanagvs10-Dec-07 19:04 
GeneralRe: Windows Service Help Pin
JudyL_MD11-Dec-07 3:40
JudyL_MD11-Dec-07 3:40 
Generalexplicit keyword Pin
George_George10-Dec-07 18:58
George_George10-Dec-07 18:58 
GeneralRe: explicit keyword Pin
Don Box10-Dec-07 19:14
Don Box10-Dec-07 19:14 
GeneralRe: explicit keyword Pin
George_George10-Dec-07 20:24
George_George10-Dec-07 20:24 
GeneralMore info Pin
Vince Rojas10-Dec-07 19:42
Vince Rojas10-Dec-07 19:42 
GeneralRe: More info Pin
George_George10-Dec-07 20:23
George_George10-Dec-07 20:23 
GeneralRe: explicit keyword Pin
Cedric Moonen10-Dec-07 21:00
Cedric Moonen10-Dec-07 21:00 

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.