ITypeLibExporterNotifySink.ReportEvent receives malformed message - by Frank Heimes

Status : 

  Won't Fix<br /><br />
		Due to several factors the product team decided to focus its efforts on other items.<br /><br />
		A more detailed explanation for the resolution of this particular item may have been provided in the comments section.


1
0
Sign in
to vote
ID 800929 Comments
Status Closed Workarounds
Type Bug Repros 0
Opened 9/16/2013 5:15:59 AM
Access Restriction Public

Description

When calling TypeLibConverter.ConvertAssemblyToTypeLib with an event handler, the ReportEvent() function receives messages with incomplete type names; i.e. only the first letter of each type is reported, e.g. "Type 'W' exported."

We use this function to create type libraries from assemblies that export dozens of types. Tracking down type resolution problems is very cumbersome if only the first letter of each type is reported.
Sign in to post a comment.
Posted by Microsoft on 8/19/2014 at 11:32 AM
Thanks for reporting this issue. Unfortunately, we will be unable to fix this issue in the upcoming release. We are not planning on servicing type library interop in this release.
Posted by Frank Heimes on 9/19/2013 at 12:15 AM
Most likely, the very same error leads to the following output of the Microsoft tool "tlbexp" (long lines truncated):

tlbexp "D:\Sources\Foo\bin\Debug\Fabrikam.Foo.Settings.dll" /verbose /win32 /nologo /out:"D:\Sources\Foo\bin\Debug\Fabrikam.Foo.Settings32.tlb"
Resolved referenced file 'D:\Sources\Foo\bin\Debug\Fabrikam.Foo.Settings.dll' to file 'D:\Sources\Foo\bin\Debug\Fabrikam.Foo.Settings.dll'.
Assembly reference 'System.Windows.Forms, Version=4.0.0.0, ...
Assembly reference 'System, Version=4.0.0.0, ...
Assembly reference 'System.Drawing, Version=4.0.0.0, ...
Type 'F' exported.
Type 'F' exported.
Type 'F' exported.
Type 'F' exported.
Type 'F' exported.
Type 'F' exported.
Type 'F' exported.
Type 'F' exported.
Type 'F' exported.
Type 'F' exported.
Type 'F' exported.
Type 'F' exported.
Type 'F' exported.
Type 'F' exported.
Type 'F' exported.
Type 'F' exported.
Type 'F' exported.
Assembly exported to 'D:\Sources\Foo\bin\Debug\Fabrikam.Foo.Settings32.tlb'
Posted by Microsoft on 9/16/2013 at 5:51 AM
Thank you for your feedback, we are currently reviewing the issue you have submitted. If this issue is urgent, please contact support directly(http://support.microsoft.com)