Hello!
I'm developing an application, supposed to run on WinCE, which needs to read a text file representing a database of strings separated by line feeds and to load these strings into an STL list or vector (holding wstring, I figured). As a requirement, I must use the eVC++ 4 IDE!!! The problems I'm facing are:
1. As far as I've discovered on the net, WinCE supports only Unicode files.
2. STL streams are not supported by the compiler, nor wanted by the customer!!!
Can any of you help me find out a way to read strings from a Unicode file into a vector<wstring>? I've been trying to use the ReadFile API function, but until now with no success!!!
Thank you very much in advance!
I'm developing an application, supposed to run on WinCE, which needs to read a text file representing a database of strings separated by line feeds and to load these strings into an STL list or vector (holding wstring, I figured). As a requirement, I must use the eVC++ 4 IDE!!! The problems I'm facing are:
1. As far as I've discovered on the net, WinCE supports only Unicode files.
2. STL streams are not supported by the compiler, nor wanted by the customer!!!
Can any of you help me find out a way to read strings from a Unicode file into a vector<wstring>? I've been trying to use the ReadFile API function, but until now with no success!!!
Thank you very much in advance!