Relative Content

Tag Archive for c++memory-managementvisual-studio-2022

__based pointer changed in VS2022

We use __based pointers in our code. We are going through the process of migrating our projects from Visual Studio 2019 to Visual Studio 2022. We are using Windows SDK 10.0.22621.0. The projects have built successfully but our application is failing at runtime because __based pointers are behaving differently. The values being pointed to by some of the based pointers don’t appear to be initialized. Is anyone aware of a change of behavior with __based pointers in VS 2022 ?