Recently we upgraded our code from Delphi 2009 to Delphi XE and updated our Indy components (not sure if this is relevant).
But ever since then we have had errors on Windows Server 2003 machines when loading and saving XML files.
XMLDoc.LoadFromFile()
XMLDoc.SaveToFile()
The DLL msvcrt.dll is much smaller on Windows Server 2003 (300kb or so) compared to over 600kb on other operating systems... So its missing something in that file and its causing the error...
Does anyone know how to fix this? Or is there an alternative to TXMLDocument
that I can try?
By default,
TXMLDocument
/IXMLDocument
is just a wrapper around the MSXML COM interfaces when running on Windows platforms. NeitherTXMLDocument
nor Indy use the_ftol2_sse()
function, or even link to msvcrt.dll. Something else in your project is at fault.