Actions
Bug #4953
closedSaxonCGlue - C/C++ UNICODE Interop - add doc somewhere
Status:
Duplicate
Priority:
Low
Assignee:
-
Category:
-
Start date:
2021-03-30
Due date:
% Done:
0%
Estimated time:
Applies to branch:
Fix Committed on Branch:
Fixed in Maintenance Release:
Found in version:
Fixed in version:
SaxonC Languages:
SaxonC Platforms:
SaxonC Architecture:
Description
In order to be able to use Saxon/C from a Win32 / x64 UNICODE binary, one needs to explicitly undef / remove the UNICODE
and _UNICODE
macro when compiling.
(Otherwise the libsaxonhec.dll
just won't load w/o error because the path get's scrambled up)
Without setting this, the user would get an error like
Unable to load C:\Program Files\Saxonica\SaxonHEC1.2.1\libsaxonhec.dll
Error: : No error
(just because the Path C:\Program Files\Saxonica\SaxonHEC1.2.1\libsaxonhec.dll
would be wiedened to unicode, which is garbage in the SaxonCGlue.c / loadDll)
Files
Related issues
Please register to edit this issue
Actions