Test program to demonstrate problems with COM interop

.NET obfuscator and automated error reporting

Moderators: Luke Jefferson, Alex.Davies, melvyn.harbour

Test program to demonstrate problems with COM interop

Postby Roger Billsdon » Thu Aug 19, 2010 4:34 pm

Hi all

If anyone is interested, I've now been able to generate a small test program which demonstrates the problem that SmartAssembly has obfuscating programs that use embedded COM interop types. The program uses Visio 2007 and crashes with the error described in my previous posts: \"Specified cast is not valid. at System.StubHelpers.InterfaceMarshaler.ConvertToNative(Object objSrc, IntPtr itfMT, IntPtr classMT, Int32 flags) at Microsoft.Office.Interop.Visio.IVLayer.Remove(Shape SheetObject, Int16 fPresMems)\"

Layer.Remove is one of a number of Visio methods that I've found SmartAssembly has problems with.

Best regards
Roger
Roger Billsdon
 
Posts: 9
Joined: Sat Jul 31, 2010 8:10 am
Location: Cambs, UK

Return to SmartAssembly 5

Who is online

Users browsing this forum: No registered users and 0 guests