Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Read Unicode File in WinCE

Status
Not open for further replies.

JDavide

Programmer
Oct 22, 2007
2
IT
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!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top