Click here to Skip to main content
15,889,879 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Visual Studio 2010 optimized code bug Pin
ForNow11-Feb-13 17:17
ForNow11-Feb-13 17:17 
GeneralRe: Visual Studio 2010 optimized code bug Pin
Richard MacCutchan11-Feb-13 22:10
mveRichard MacCutchan11-Feb-13 22:10 
GeneralRe: Visual Studio 2010 optimized code bug Pin
ForNow12-Feb-13 2:25
ForNow12-Feb-13 2:25 
Question__interface implies the novtable __declspec modifier Pin
bob169729-Feb-13 11:30
bob169729-Feb-13 11:30 
AnswerRe: __interface implies the novtable __declspec modifier Pin
H.Brydon9-Feb-13 18:35
professionalH.Brydon9-Feb-13 18:35 
GeneralRe: __interface implies the novtable __declspec modifier Pin
bob1697210-Feb-13 5:20
bob1697210-Feb-13 5:20 
AnswerRe: __interface implies the novtable __declspec modifier Pin
pasztorpisti9-Feb-13 23:32
pasztorpisti9-Feb-13 23:32 
GeneralRe: __interface implies the novtable __declspec modifier Pin
bob1697210-Feb-13 6:03
bob1697210-Feb-13 6:03 
Thanks for taking the time for such a detailed response. It got me thinking about it some more and I believe I now understand why it's there. I was just hoping that the vtable wasn't even needed if the instantiated classes didn't explicitly declare anything virtual. I was hoping the __interface rules and requirements could all be enforced at compile time and the need for the vtable in the derived class could be discarded in my scenario.

Do you think if a true interface keyword existed in the C++ standard, that the virtualness of the interface would not be implied in the classes that "implement" the interfaces. Do "deriving from the interface" and "implementing the interface" mean the same thing?
GeneralRe: __interface implies the novtable __declspec modifier Pin
pasztorpisti10-Feb-13 10:45
pasztorpisti10-Feb-13 10:45 
GeneralRe: __interface implies the novtable __declspec modifier Pin
bob1697210-Feb-13 19:22
bob1697210-Feb-13 19:22 
GeneralRe: __interface implies the novtable __declspec modifier Pin
H.Brydon11-Feb-13 15:45
professionalH.Brydon11-Feb-13 15:45 
GeneralRe: __interface implies the novtable __declspec modifier Pin
pasztorpisti12-Feb-13 4:53
pasztorpisti12-Feb-13 4:53 
QuestionAES Encryption Help Pin
vishalgpt7-Feb-13 23:21
vishalgpt7-Feb-13 23:21 
AnswerRe: AES Encryption Help Pin
Richard MacCutchan8-Feb-13 0:34
mveRichard MacCutchan8-Feb-13 0:34 
GeneralRe: AES Encryption Help Pin
vishalgpt8-Feb-13 2:55
vishalgpt8-Feb-13 2:55 
GeneralRe: AES Encryption Help Pin
Richard MacCutchan8-Feb-13 5:22
mveRichard MacCutchan8-Feb-13 5:22 
QuestionKernel programming Pin
OmarSH7-Feb-13 22:15
OmarSH7-Feb-13 22:15 
AnswerRe: Kernel programming Pin
Richard MacCutchan7-Feb-13 23:08
mveRichard MacCutchan7-Feb-13 23:08 
GeneralRe: Kernel programming Pin
OmarSH7-Feb-13 23:49
OmarSH7-Feb-13 23:49 
GeneralRe: Kernel programming Pin
Richard MacCutchan8-Feb-13 0:32
mveRichard MacCutchan8-Feb-13 0:32 
GeneralRe: Kernel programming Pin
OmarSH8-Feb-13 2:11
OmarSH8-Feb-13 2:11 
GeneralRe: Kernel programming Pin
Richard MacCutchan8-Feb-13 5:15
mveRichard MacCutchan8-Feb-13 5:15 
AnswerRe: Kernel programming Pin
Erudite_Eric8-Feb-13 0:09
Erudite_Eric8-Feb-13 0:09 
GeneralRe: Kernel programming Pin
Albert Holguin8-Feb-13 6:01
professionalAlbert Holguin8-Feb-13 6:01 
AnswerRe: Kernel programming Pin
Albert Holguin8-Feb-13 6:06
professionalAlbert Holguin8-Feb-13 6:06 

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.