I found mscorlib_TLB next to the COM shell that I created in C # several years ago, MyComWrapper . When I copied MyComWrapper_TLB to another workstation, it was necessary to copy mscorlib_TLB , since it included the type definitions needed for MyComWrapper_TLB .
Re-importing the associated tlb should restore mscorlib_TLB.pas if it cannot be found. It looks like I re-hosted tlb on October 4, 2017.
Here's the prolog that describes the block:
unit mscorlib_TLB; // ************************************************************************ // // WARNING // ------- // The types declared in this file were generated from data read from a // Type Library. If this type library is explicitly or indirectly (via // another type library referring to this type library) re-imported, or the // 'Refresh' command of the Type Library Editor activated while editing the // Type Library, the contents of this file will be regenerated and all // manual modifications will be lost. // ************************************************************************ // // $Rev: 52393 $ // File generated on 10/4/2017 11:15:21 PM from Type Library described below. // ************************************************************************ // // Type Lib: C:\Windows\Microsoft.NET\Framework\v2.0.50727\mscorlib.tlb (2) // LIBID: {BED7F4EA-1A96-11D2-8F08-00A0C9A6186D} // LCID: 0 // Helpfile: // HelpString: mscorlib.dll // DepndLst: // (1) v2.0 stdole, (C:\Windows\SysWow64\stdole2.tlb) // Parent TypeLibrary: // (0) v1.0 MyComWrapper, (C:\source\my-client\client-project\MyComWrapper\bin\x86\Release\MyComWrapper.tlb)
source share