> There's no reason to use a macro, that's true. I don't see any > indication that passed name argument is > UTF-8 encoded, so I don't see what's a justification of UTF-8 -> WCHAR
If this is of any concern, LoadLibraryA interprets the 8-bit characters of the filename according to the user's codepage (character encoding) and transforms it (internally in Windows) according to this codepage to UTF-16 and calls LoadLibraryW then. Peter _______________________________________________ xml mailing list, project page http://xmlsoft.org/ xml@gnome.org https://mail.gnome.org/mailman/listinfo/xml