I'm using VS 2008 Pro. I have 1 idl file which contains:
module views {
// Introduced in DOM Level 2:
interface [
ObjCCustomImplementation,
OmitConstructor
] AbstractView {
readonly attribute Document document;
readonly attribute Media styleMedia;
};
}
(That's all, no more in the file.) When I build the file (right click to file and press Compile, error occurs as following:
AbstractView.idl ..\page\AbstractView.idl(30) : error MIDL2025 : syntax error : expecting a type specification near "interface" ..\page\AbstractView.idl(31) : error MIDL2026 : cannot recover from earlier syntax errors; aborting compilation
What is the problem? How can I fix this?