Alberto Massari <amassari <at> datadirect.com> writes:
> The fact that the missing symbols all list "unsigned short*" instead
> of "wchar_t*" makes me think that you have set the option "Treat
> wchar_t as a builtin type" to "No", while Xerces had it set to "Yes".
> Aligning your project (or Xerces, if you really need that option to
> be "No") to have the same value will fix the problem.
>
> ...
>
> XMLPlatformUtils::Terminate() must be called after all the
> Xerces-managed objects have been deleted, or their destructors will
> try to access global objects that Terminate deleted. For instance
>
> XMLPlatformUtils::Initialize();
> {
> XercesDOMParser parser;
> }
> XMLPlatformUtils::Terminate();
>
> or
>
> XMLPlatformUtils::Initialize();
> XercesDOMParser *parser = new XercesDOMParser();
> delete parser;
> XMLPlatformUtils::Terminate();
Hi Alberto,
thank you very much!
Both the first and second variants work absolutely fine now!
I am very grateful.
I wish you a nice weekend,
Lydia.