D
Dave Johansen
I just converted a solution from Visual Studio 2003 to Visual Studio
2005 and the Debug mode seems to be running just fine, but the Release
mode crashes on the following code:
std::ifstream in("myfile.txt");
float value;
in >> value; //The crash happens here in the getloc() function
The above code is actually from a library built in Debug mode that is
linked into the Release build of the executable. Does anyone have any
ideas of what could be causing this? Or how I could fix it (other than
switching the library to release mode, because that's currently not an
option)?
Thanks,
Dave
2005 and the Debug mode seems to be running just fine, but the Release
mode crashes on the following code:
std::ifstream in("myfile.txt");
float value;
in >> value; //The crash happens here in the getloc() function
The above code is actually from a library built in Debug mode that is
linked into the Release build of the executable. Does anyone have any
ideas of what could be causing this? Or how I could fix it (other than
switching the library to release mode, because that's currently not an
option)?
Thanks,
Dave