In our code in order to decrease executable size we have following:
#define MyInterface struct __declspec ( novtable )
then you can declare your pure virtual class (interface) as:
MyInterface IDontKnow : public IUnknown
{
virtual void ShutUp()=0;
};
Unfortunately, this causes VA (1106 and now 1213) not to recognize IDontKnow - it underlines it as typo and refuses to Alt+G
Is it hopeless? Maybe some workaround? Any way to teach parser that 'MyInterface' is equivalent of 'struct'?