VC++ 2022 MFC App with .NET update causing

Jerry Codling 0 Reputation points
2025-05-19T10:00:22.61+00:00

We have a build server, making VC++ 2022 MFC application with some com connections. The .NET update was installed on 18th of March and subsequent to then the built applications have corruption of dates and in one place a memory related crash. It uses DATE_STRUCT, TIME_STRUCT and TIMESTAMP_STRUCT from sqltypes.h (windowskits/10...)

.NET SDK 9.0.201 was installed 18th March or associated dev tools installed on that date. problems happened with builds after that - no change in the code.

Developer release builds do not have this problem. (it works OK with .NET SDK 9.0.103)

Does anyone have any suggestions, or is this a known bug?

Header 1 Header 2
Cell 1 Cell 2
Cell 3 Cell 4
Developer technologies | C++
{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.