We have created a xml based script interpreter which assembles parts within a CAD system (VS2010, C++).
With German locale settings (comma as decimal separator) the DLL, compiled for release, fails while interpreting a float from the XML file. Seems like the remainder is cut off; a beam in CAD is 1m long (instead of 1.6m).
The same DLL compiled for debug and called from within VS2010 in debugging mode works ok, the beam is i.e. 1.6m long.
With Swiss locale settings (point as decimal separator) both modes (release and debug) work ok.
QT is not used in this part of the code, the xml file is read and interpreted 'manually' in C++, without using any QT functionality.
I did not find any hint to such a bug in VS2010 (or MS runtime libraries).
Anyone experienced a problem like this? I greatly would appreciate help, thanks in advance.