How does fwrite handle tchar?
Investigate what it will take to port an app to use wide characters. I have a question on using tchar macro. Since tchar is really wchar_t or char depending on UNICODE #define, then does it mean when I write a block of memory containing say a tchar array, fwrite is actually going to write one file encoding with UNICODE and one without? That I do not need to use two different functions depending what tchar is correct?
Once the data is written, then it means a file I create in the US version of the product is different from say the Chinese version of it, is this correct?
Thanks in advance,