![]() |
![]() |
![]() |
win32 c++ question (out of desperation) I know this generally isn't the place to post programming questions but I will anyway - or please point me to the best place.
James 'Smiler' Farrer
Are you sure Ce supports the _wfopen call? I don't think it does.
Mr Jack
http://msdn.microsoft.com/library/en-us/wcecrt/htm/_wcecrt_fopen_wfopen.asp
James 'Smiler' Farrer
I might add I'm not opposed to using something else, as long as I can parse csv / tsv easily.
James 'Smiler' Farrer
My guess would be (and this is a complete guess becuase I do not know you or your experience) is that you are doing something incorrect with the UNICODE. When I moved from Win32 to do a few small CE projects, I about tore my hair out getting all of the UNICODE stuff right.
Matt Watson
are you passing in the full path, or just the filename?
I didn't realize CE supported Unicode. You learn something new every day. Out of curiousity, have you tried fopen?
Troy King
Passing full name eg the param is "\My Documents\folder\thisfile.txt"
James 'Smiler' Farrer
And yes I do have all the ; placed before someone points that out :)
James 'Smiler' Farrer
So what happens? "Leaves me stuck" isn't very helpful.
OK changed it to use _T as well..
James 'Smiler' Farrer
How could _fcloseall close the file when you just called fclose with the file ptr the line before? All the zero is telling you is that there were no other files open, surely?
Ah, I misread the documentation of what _fcloseall() does. Sorry.
James 'Smiler' Farrer
Check into "GetLastError()"
|