OleView incorrectly saves .tlb to .idl - bad "public" attribute added.

  • Thread starter Thread starter RD Holland
  • Start date Start date
R

RD Holland

Guest
I ran OleView and loaded a typelib. I then did a save as to get the IDL file. The result isn't correct for constants referenced by the .tlb file.

This is emitted and is incorrect due to missing "," before "public". So , it won't compile.

typedef [helpstring("xxxEvent constants"), helpcontext(0x00016029)public]

Correct line to emit:

typedef [helpstring("xxxEvent constants"), helpcontext(0x00016029),public]


R.D. Holland

Continue reading...
 
Back
Top