Click here to Skip to main content
15,943,335 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionPreprocessor confusion Pin
s196675m27-Aug-08 6:42
s196675m27-Aug-08 6:42 
AnswerRe: Preprocessor confusion Pin
Mark Salsbery27-Aug-08 7:08
Mark Salsbery27-Aug-08 7:08 
AnswerRe: Preprocessor confusion Pin
Cedric Moonen27-Aug-08 7:40
Cedric Moonen27-Aug-08 7:40 
QuestionSO_RCVTIMEO not working for nonblocking win32 socket Pin
onlyjaypatel27-Aug-08 3:11
onlyjaypatel27-Aug-08 3:11 
AnswerRe: SO_RCVTIMEO not working for nonblocking win32 socket Pin
SandipG 27-Aug-08 3:32
SandipG 27-Aug-08 3:32 
QuestionInhertance Diamond problem Pin
laksh220427-Aug-08 2:41
laksh220427-Aug-08 2:41 
AnswerRe: Inhertance Diamond problem [modified] Pin
Nibu babu thomas27-Aug-08 2:48
Nibu babu thomas27-Aug-08 2:48 
GeneralRe: Inhertance Diamond problem Pin
laksh220427-Aug-08 3:28
laksh220427-Aug-08 3:28 
OK, thats nice explanation..
one more issue comes into my mind.


A
/ \
B C
\ /
D

In the same diamond structure if my declaration is like:

class A;
class B : virtual public A;
class C : virtual public A;
class D : public B, public C;

now when i do

A *d = new D; //it will work as ambiguity is removed by virtual.
But, which path will be followed??
A->B->D or A->C->D??
or something else...
GeneralRe: Inhertance Diamond problem Pin
Nibu babu thomas27-Aug-08 3:36
Nibu babu thomas27-Aug-08 3:36 
AnswerRe: Inhertance Diamond problem Pin
_AnsHUMAN_ 27-Aug-08 2:55
_AnsHUMAN_ 27-Aug-08 2:55 
AnswerRe: Inhertance Diamond problem Pin
Sarath C27-Aug-08 4:37
Sarath C27-Aug-08 4:37 
QuestionHow to run VB Script in MFC program? Pin
santhoshv8427-Aug-08 2:34
santhoshv8427-Aug-08 2:34 
AnswerRe: How to run VB Script in MFC program? Pin
Nibu babu thomas27-Aug-08 2:37
Nibu babu thomas27-Aug-08 2:37 
QuestionAdd EditControl Pin
MsmVc27-Aug-08 2:06
MsmVc27-Aug-08 2:06 
AnswerRe: Add EditControl Pin
Cedric Moonen27-Aug-08 2:11
Cedric Moonen27-Aug-08 2:11 
GeneralRe: Add EditControl Pin
MsmVc27-Aug-08 2:19
MsmVc27-Aug-08 2:19 
GeneralRe: Add EditControl Pin
Cedric Moonen27-Aug-08 2:38
Cedric Moonen27-Aug-08 2:38 
GeneralRe: Add EditControl Pin
David Crow27-Aug-08 3:06
David Crow27-Aug-08 3:06 
GeneralRe: Add EditControl Pin
Hamid_RT27-Aug-08 4:09
Hamid_RT27-Aug-08 4:09 
AnswerRe: Add EditControl Pin
Jijo.Raj27-Aug-08 2:15
Jijo.Raj27-Aug-08 2:15 
AnswerRe: Add EditControl Pin
Hamid_RT27-Aug-08 4:08
Hamid_RT27-Aug-08 4:08 
GeneralRe: Add EditControl Pin
MsmVc27-Aug-08 18:21
MsmVc27-Aug-08 18:21 
GeneralRe: Add EditControl Pin
MsmVc27-Aug-08 18:50
MsmVc27-Aug-08 18:50 
GeneralRe: Add EditControl Pin
Hamid_RT28-Aug-08 23:15
Hamid_RT28-Aug-08 23:15 
QuestionTwo way class access Pin
Dennis L27-Aug-08 0:43
Dennis L27-Aug-08 0:43 

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.