- When exporting a crystal report to Word-Doc using Crystal runtime starting from version SP21 over the embedded preview (Winform), the decimal separator of the calling application changes from "." to ",".
- This is only reproducible with Doc-Export. Xls for example is working fine.
- Crystal reports 2016 SP4
- Windows 10 and 7
- Crystal reports for visual studio SP21
- .Net framework 4.5
- Visual studio 2017
Reproducing the Issue
Export any crystal report to Word-Doc using .Net application
Starting from Cryustal runtime SP21, the locale had been changed.
Call : _configthreadlocale(_ENABLE_PER_THREAD_LOCALE); as described by the following Microsoft link: https://docs.microsoft.com/en-us/cpp/c-runtime-library/reference/configthreadlocale?f1url=https%3A%2F%2Fmsdn.microsoft.com%2Fquery%2Fdev15.query%3FappId%3DDev15IDEF1%26l%3DEN-US%26k%3Dk(LOCALE%2F_configthreadlocale)%3Bk(_configthreadlocale)%3Bk(DevLang-C%2B%2B)%3Bk(TargetOS-Windows)%26rd%3Dtrue
KBA , BI-DEV-NET , BI Software Development Kits (SDKs) - .NET or Other , Problem