Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Community » Newbie corner » reading & writing a file
icon7.gif  Re: reading & writing a file [message #32710 is a reply to message #32679] Thu, 02 June 2011 20:49 Go to previous messageGo to previous message
silverx is currently offline  silverx
Messages: 62
Registered: March 2011
Member
Thank you for this information.

You are correct, as I found a hex viewer and did look at the hex of the file it was FF FE to start with.

And I look at the function you listed LoadFileBOM, and found it would be better for me to use the LoadFileBOMW instead.

The downside to this is it reads it in as a single WString or String, and not a line at a time.

The reason I decided on the LoadFileBOMW is I need to convert it back to a single line of input then take certain bytes out of it, and need to do a select of bytes based upon position in the line.



 
Read Message icon5.gif
Read Message
Read Message
Read Message
Read Message icon13.gif
Read Message
Read Message
Read Message
Read Message icon7.gif
Read Message
Previous Topic: GridCtrl out-of-bound crash with test case
Next Topic: using a file chooser (dir chooser??) to get a dir and not a file
Goto Forum:
  


Current Time: Sat Jun 15 19:50:48 CEST 2024

Total time taken to generate the page: 0.00548 seconds