views:

35

answers:

0

I am migrating a project from vs 2005 to vs 2010 and the problem appeared.

My program links statically to a C library. I am making a call in this library that returns a C++ object which itself has a public member that is a struct. When I try to modify some values in this struct from my code, I got some access violation errors.

In the debugger the object and its member seems ok (their pointer addresses and values are good) just before I try to modify the struct value.