Can you mix UNICODE and ANSI modules in an app? I basically just have one module I want to use unicode Win32 functions in. How do you compile it? Just define UNICODE in the module I want?
TIA
Printable View
Can you mix UNICODE and ANSI modules in an app? I basically just have one module I want to use unicode Win32 functions in. How do you compile it? Just define UNICODE in the module I want?
TIA
There shouldn't really be any problem with mixing Unicode and ASCII source within the same modules.
You may experience problems getting it all to link correctly, as some of the libraries you link to may have a Unicode and an ASCII version (i.e. MFC) This could be addressed through putting specific link options on individual cpp files but that is a lot of hassle.