How would I accomplish this?


Do I export two functions on UNICODE and the other not?

and then in the header file define macros to point to the correct one... kinda like how MS does it?

Have one function SomethingA() and another SomethingW(), and then define a macro Something() that changes depending on whether or not UNICODE is defined??

Shoud the internals of the DLL use UNICODE, and the ANSI functions converts its string input into UNICODE?