Use CFileDialog and get Unicode filenames in a Multi-Byte project
-
Hi guys I have a project using Multi-Byte Character Set, but i need to open some files wich names and/or paths may have Unicode Chars. How can i use CFileDialog with Unicode support in my project without changing my project configuration to Unicode char set?
-
Hi guys I have a project using Multi-Byte Character Set, but i need to open some files wich names and/or paths may have Unicode Chars. How can i use CFileDialog with Unicode support in my project without changing my project configuration to Unicode char set?
Hi , There are always aliases of the functions in Widechar or ANSI .So for example u have a function WriteprivateprofileString () .It will be available in WriteprivateprofileStringA () and WriteprivateprofileStringW ().Similarly, for unicode you will have to use function equivalents in ANSI to get your job done. So, no need of switching to UNICODE.
-
Hi , There are always aliases of the functions in Widechar or ANSI .So for example u have a function WriteprivateprofileString () .It will be available in WriteprivateprofileStringA () and WriteprivateprofileStringW ().Similarly, for unicode you will have to use function equivalents in ANSI to get your job done. So, no need of switching to UNICODE.