SaxonCGlue - C/C++ UNICODE Interop - add doc somewhere
In order to be able to use Saxon/C from a Win32 / x64 UNICODE binary, one needs to explicitly undef / remove the
_UNICODE macro when compiling.
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)
Updated by O'Neil Delpratt over 2 years ago
- Tracker changed from Support to Bug
- Status changed from New to Duplicate
Hi, Yes you are correct in your suggested fix.
I am marking this bug issue as a duplicate to the fix that has already been made in the issue #4707.
The work around is to apply this fix to your local copy of Saxon/C 1.2.1.
Please register to edit this issue