Click here to Skip to main content
15,897,718 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: CreateInstance Pin
CPallini3-Feb-08 22:19
mveCPallini3-Feb-08 22:19 
GeneralRe: CreateInstance Pin
George_George3-Feb-08 22:25
George_George3-Feb-08 22:25 
GeneralRe: CreateInstance Pin
CPallini3-Feb-08 22:35
mveCPallini3-Feb-08 22:35 
GeneralRe: CreateInstance Pin
George_George3-Feb-08 22:40
George_George3-Feb-08 22:40 
GeneralRe: CreateInstance Pin
CPallini3-Feb-08 22:52
mveCPallini3-Feb-08 22:52 
GeneralRe: CreateInstance Pin
George_George3-Feb-08 23:01
George_George3-Feb-08 23:01 
GeneralRe: CreateInstance Pin
CPallini3-Feb-08 23:33
mveCPallini3-Feb-08 23:33 
GeneralRe: CreateInstance Pin
George_George3-Feb-08 23:53
George_George3-Feb-08 23:53 
Thanks for your great reply, CPallini!


1.

CPallini wrote:
know that. But, as I suggested before, since C++ syntax has no special syntax to designate interfaces (i.e. abstract classes) then probably the compiler cannot make assumptions on them and remains stuck to the more general case, thus finding (inexisting) ambiguities on the derivation path.


No matter whether they contain data member, right?

2.

CPallini wrote:
how can the compiler resolve between IX::AddRef or IY::AddRef if it cannot make assumptions on the abstract nature of IX and IY classes?


I do not quite understand your statement above. Could you show some pseudo code please?


regards,
George
GeneralRe: CreateInstance Pin
CPallini4-Feb-08 0:13
mveCPallini4-Feb-08 0:13 
GeneralRe: CreateInstance Pin
George_George4-Feb-08 0:34
George_George4-Feb-08 0:34 
GeneralRe: CreateInstance Pin
CPallini4-Feb-08 1:47
mveCPallini4-Feb-08 1:47 
GeneralRe: CreateInstance Pin
George_George4-Feb-08 1:48
George_George4-Feb-08 1:48 
GeneralThanks Pin
CPallini4-Feb-08 2:00
mveCPallini4-Feb-08 2:00 
QuestionLost Helpfiles Pin
Bram van Kampen3-Feb-08 13:22
Bram van Kampen3-Feb-08 13:22 
Generalmake an Mdiform transparent Pin
diddy343-Feb-08 11:57
diddy343-Feb-08 11:57 
GeneralTransparent MDIform Pin
diddy343-Feb-08 11:49
diddy343-Feb-08 11:49 
GeneralRe: Transparent MDIform Pin
Mark Salsbery3-Feb-08 12:10
Mark Salsbery3-Feb-08 12:10 
General2 Rows in CListCtrl Header Pin
AnTri3-Feb-08 9:01
AnTri3-Feb-08 9:01 
Generalbinary to GdiPlus::Image Pin
followait3-Feb-08 7:02
followait3-Feb-08 7:02 
GeneralRe: binary to GdiPlus::Image Pin
Mark Salsbery3-Feb-08 7:41
Mark Salsbery3-Feb-08 7:41 
GeneralRe: binary to GdiPlus::Image [modified] Pin
followait3-Feb-08 21:16
followait3-Feb-08 21:16 
GeneralI can't modify the former msg, the 'edit' button is out of the view Pin
followait3-Feb-08 23:03
followait3-Feb-08 23:03 
GeneralRe: binary to GdiPlus::Image Pin
Mark Salsbery4-Feb-08 5:33
Mark Salsbery4-Feb-08 5:33 
GeneralRe: binary to GdiPlus::Image Pin
bob169723-Feb-08 9:05
bob169723-Feb-08 9:05 
GeneralRe: binary to GdiPlus::Image Pin
bob169723-Feb-08 9:13
bob169723-Feb-08 9:13 

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.