tyranid / oleviewdotnet

A .net OLE/COM viewer and inspector to merge functionality of OleView and Test Container
GNU General Public License v3.0
1.1k stars 182 forks source link

Error while opening Type Library of Microsoft Word 16.0 #12

Open NN--- opened 5 years ago

NN--- commented 5 years ago
---------------------------
Error
---------------------------
Type 'Microsoft.Office.Core.MsoSyncEventType, 2df8d04c-5bfa-101b-bde5-00aa0044de52, Version=2.8.0.0, Culture=neutral, PublicKeyToken=null' was not loaded in the ReflectionOnly context but the AssemblyBuilder was created as AssemblyBuilderAccess.ReflectionOnly.
---------------------------
OK   
---------------------------
Charltsing commented 4 years ago

fix: TypeLibImporterFlags.ReflectionOnlyLoading--->TypeLibImporterFlags.None AssemblyBuilder asm = conv.ConvertTypeLibToAssembly(typeLib, strAssemblyPath,
TypeLibImporterFlags.None, new TypeLibCallback(progress), null, null, null, null);

sonicbhoc commented 3 years ago

I'm having the same issue with Excel.