Converting unicode filenames to ANSI
Would like to find a convenient way to convert a unicode filename to ansi -
Have a project that needs to be able to recognize and open files with foreign chars in the fileame.
It could be compiled in unicode to make use of the unicode versions of the file routines, but doing so creates a problem with the document converter.
GetOpenFileName() replaces the chars that it can't represent as '?' chars and so the original filename is lost, so programmatically renaming or creating a temp copy with an ANSI name seems to be out of the question.
So, is there a means to do this without recompiling as unicode?