Frank Heckenbach wrote:
Markus Gerwinski wrote:
I think in that case I'll rather work around the wchar, just treating any `WideString' as a pointer.
That's certainly possible, if you can afford to treat it in an opaque way.
One more possible solution: In my C layer, I'll transform any wchar_t into its unicode char representation before passing it to the Pascal interface. So there shouldn't be any data loss at all.
Yours,
Markus