I have an application that used to work fine compiled with VC2003. Recently I re-compiled it with VC2005 and it started getting access violations.
Application has 2 dlls that and one of them creates instance of std::map which it than passes to the other dll. I can see contents of the map in the debugger after and it looks fine. However when that second library calls map::begin() result returned from that function looks completely bogus and not at all points to the first element (or any other element) in the map.
Can this be caused by different versions of STL used to compile each library
The map in question is only accessed by a single thread so it's unlikely to be some race condition.