Can it be, that widl does not work with any #pragma pack(x) statements in any header-files called from *.idl ? I have problems with mshtml.dl in the odin environment. lineno = (int)strtol(yytext, &cptr, 10); if(!lineno) yyerror("Malformed '#...' line-directive; invalid linenumber"); after #pragma pack(x) line. All widl-generated headers does never containn any #pragma pack(x) statement.
Dietrich