2

I just cannot find any explanation about the difference between new TLB file format and old TLB file format. This option is available for Visual Studio C++ projects, under Midl compiler options.

In the project file (.vcxproj), the option looks like this:

<Midl>
  <TypeLibFormat>OldFormat</TypeLibFormat>
</Midl>

Does anyone know the difference between new TLB file format and old TLB file format, and any possible collateral effects of changing to the new file format (e.g. COM issues, old VB6 projects requiring old format, etc)?

Sedenion
  • 5,421
  • 2
  • 14
  • 42
sɐunıɔןɐqɐp
  • 3,332
  • 15
  • 36
  • 40
  • I think it passes this to `midl` [`/oldtlb`](https://learn.microsoft.com/en-us/windows/win32/midl/-oldtlb); then follow the links to the factory classes. Also in the project setting you can see the actual command line passes to the tools. – Richard Critten Dec 06 '22 at 09:40
  • Unfortunately, there is no relevant document on MSDN at present, I suggest you report this problem to [DC](https://developercommunity.visualstudio.com/report?space=8&entry=problem). – Yujian Yao - MSFT Dec 13 '22 at 08:03

0 Answers0