Closed nunopicado closed 6 years ago
As stated by Remy Lebeau's answer in this post, MSXML is required to be initialized in order to use COM objects. Some VCL units do that for their own purposes, so when added to the project, they have the side effect of initializing COM, thus avoiding the problem in this RO.
The solution is to have TXPath itself initialize COM.
This happens when using the object in a minimalist project. If (almost) any VCL or FMX units are in the project, no exception is raised