Same code exhibits different behavior if code is compiled in debug or release (memcpy) [closed]
Closed 1 hour ago.
Same code exhibits ifferent behavior if code is compiled in debug or release (memcpy)
I have this piece of code that if compiled as debug works properly, if compiled in release processes the first sequence then exits.
__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 ?