MIDL Compiler generates wrong year

RDan 0 Reputation points
2024-11-11T17:47:47.58+00:00

Using the MIDL compiler with IDL statements to generate a .TLB file, the compiler inserts a text line into the .TLB such as: Created by MIDL version 8.01.0628 at Mon Jan 18 19:14:07 2038. The year should be the year the .TLB was created (e.g., 2024), NOT 2038!

In researching the internet, there are discussions about year issues depending on how software (such as MIDL) store and represent dates/times internally.

I assume Microsoft is already aware of this and I just haven't found a discussion thread about it somewhere.

Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,685 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.