Tag: CoInitialize
-
Solving I/O Error 103 in LoadXMLDocument
—
in DelphiIn a Delphi console application that reads its configuration from an XML file, I unexpectedly ran into “I/O error 103”. I/O error 103 will look familiar to most of you Delphi developers, it means “File not open”. I traced it to this source line: xmlcfg := LoadXMLDocument(FConfigFilePath); LoadXMLDocument comes from the Delphi unit XMLDoc.pas, so…