[cfe-dev] unicode identifiers

Niklas Larsson metaniklas at gmail.com
Tue Jun 21 15:21:17 PDT 2011


2011/6/21 Scott Conger <scott.conger at gmail.com>:
> Ahh, never mind. I'm told my Windows example was totally bogus and
> that that only applies for ordinal values.
>

The reason might be bogus but you're right, DLLs can only expose ASCII
names in their export table, and hence there's no Unicode version of
GetProcAddress. Though the symbol names in the PECOFF spec is said to
be UTF-8, so Unicode names might theoretically work as long as they're
not dllexport. I have no clue if any linker supports it though.

BR,
Niklas



More information about the cfe-dev mailing list