Click here to Skip to main content
15,906,574 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
GeneralRe: STL bug? weird ostream&() << "behavior"; Pin
Michael Dunn22-Sep-04 11:53
sitebuilderMichael Dunn22-Sep-04 11:53 
GeneralCOM and Multiple inheritance Pin
User 21559720-Sep-04 23:22
User 21559720-Sep-04 23:22 
GeneralRe: COM and Multiple inheritance Pin
Jörgen Sigvardsson21-Sep-04 12:46
Jörgen Sigvardsson21-Sep-04 12:46 
GeneralRe: COM and Multiple inheritance Pin
User 21559722-Sep-04 1:34
User 21559722-Sep-04 1:34 
GeneralRe: COM and Multiple inheritance Pin
ThatsAlok29-Oct-04 21:18
ThatsAlok29-Oct-04 21:18 
GeneralRe: COM and Multiple inheritance Pin
Nathan Holt at EMOM29-Sep-04 5:32
Nathan Holt at EMOM29-Sep-04 5:32 
GeneralRe: COM and Multiple inheritance Pin
User 21559730-Sep-04 0:35
User 21559730-Sep-04 0:35 
GeneralRe: COM and Multiple inheritance Pin
Nathan Holt at EMOM30-Sep-04 4:49
Nathan Holt at EMOM30-Sep-04 4:49 
sohailkadiwala wrote:
Can you please explain me more on this. I am confused abt the above quote. What I know is there can be multiple inheritance possible among structures. COM interface is nothing but a Structure. So why would it be not possible to have multiple inhertance amongst interface ?

Sure. Multiple inheritance in C++ can rely on detailed information about the object. If both base classes have virtual functions, then the derived class will have two pointers to two different virtual function tables. (The virtual function tables are the tables I described in the previous message.) I don't know if C++ specifies the order the pointers occur in, and I'm pretty sure it doesn't specify how far apart the pointers are. This would make it difficult to specify a binary standard for multiple inheritance in interfaces.

In practice, I suspect that Microsoft could have defined their own standards for windows C++ compilers that would have made multiple inheritance of interfaces possible, but they didn't. In fact, there are a disturbing number of people who seem to think multiple inheritance was a mistake.

Nathan Holt
GeneralRe: COM and Multiple inheritance Pin
User 2155971-Oct-04 4:00
User 2155971-Oct-04 4:00 
GeneralBSTR to const char[] Pin
AssemblySoft20-Sep-04 7:10
AssemblySoft20-Sep-04 7:10 
GeneralRe: BSTR to const char[] Pin
Anonymous20-Sep-04 9:19
Anonymous20-Sep-04 9:19 
GeneralRe: BSTR to const char[] Pin
SandeepN20-Sep-04 10:21
SandeepN20-Sep-04 10:21 
GeneralRe: BSTR to const char[] Pin
AssemblySoft20-Sep-04 12:56
AssemblySoft20-Sep-04 12:56 
GeneralRe: BSTR to const char[] Pin
AssemblySoft20-Sep-04 12:56
AssemblySoft20-Sep-04 12:56 
GeneralRe: BSTR to const char[] Pin
Michael Dunn20-Sep-04 10:56
sitebuilderMichael Dunn20-Sep-04 10:56 
GeneralRe: BSTR to const char[] Pin
AssemblySoft20-Sep-04 12:57
AssemblySoft20-Sep-04 12:57 
GeneralATL activeX control Initialize Pin
AssemblySoft20-Sep-04 7:02
AssemblySoft20-Sep-04 7:02 
GeneralRe: ATL activeX control Initialize Pin
Michael Dunn20-Sep-04 13:27
sitebuilderMichael Dunn20-Sep-04 13:27 
GeneralRichEdit Pin
_johan18-Sep-04 11:05
_johan18-Sep-04 11:05 
GeneralRe: RichEdit Pin
Michael Dunn18-Sep-04 13:01
sitebuilderMichael Dunn18-Sep-04 13:01 
GeneralRe: RichEdit Pin
_johan19-Sep-04 17:47
_johan19-Sep-04 17:47 
Generalwhy ATL based ACTIVEX control got flicker when Redraw Pin
max_xiayi17-Sep-04 12:54
max_xiayi17-Sep-04 12:54 
GeneralRe: why ATL based ACTIVEX control got flicker when Redraw Pin
Todd Smith17-Sep-04 14:12
Todd Smith17-Sep-04 14:12 
GeneralRe: why ATL based ACTIVEX control got flicker when Redraw Pin
greekgoddj11-Jan-05 22:49
greekgoddj11-Jan-05 22:49 
GeneralRe: why ATL based ACTIVEX control got flicker when Redraw Pin
greekgoddj30-Jan-05 23:13
greekgoddj30-Jan-05 23: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.