Question 3: I'm using Visual C++ 6.0. I need to store data as Unicode and access it using Unicode instead of ANSI to make the application independent of the system locale.
You need to build your project as Unicode.
To take advantage of the MFC and C run-time support for Unicode, you need to:
· Define _UNICODE.
At Project settings\C/C++\Preprocessor definitions, define the symbol _UNICODE.
· Specify entry point.
In the Output category of the Link tab in the Project Settings dialog box, set the Entry Point Symbol to wWinMainCRTStartup.
You will need to add some Unicode libraries and DLLs, you find them on your Visual Studio CDs or the MSDN.
You need to make sure that your code is Unicode aware.