Perhaps it's an overload in info, or the fact that its 2am here, but Im a bit confused over my choices for PPC file I/O.
Up until now, Ive been using the "fopen" command for most of my files in my GapiDraw app, but in most places Ive seen people choose to use the "CreateFile" command. Now, I know that in the past WinCE wasnt able to use fopen at all, but that it isnt an issue now.
Is this correct?
The reason I ask is that when I tried to load a file using fopen, it worked fine in Win32, but in porting the code over to my PPC it didnt seem to work at all. Im just wondering if it could be a bug in my code, or if fopen just isnt a valid option for file-loading on a PPC. I know that PPC2002 is also a bit fussy on how it handles filenames...perhaps that could be it.
(I hope that all made sense...again, its the middle of the night here...hehe)
Up until now, Ive been using the "fopen" command for most of my files in my GapiDraw app, but in most places Ive seen people choose to use the "CreateFile" command. Now, I know that in the past WinCE wasnt able to use fopen at all, but that it isnt an issue now.
Is this correct?
The reason I ask is that when I tried to load a file using fopen, it worked fine in Win32, but in porting the code over to my PPC it didnt seem to work at all. Im just wondering if it could be a bug in my code, or if fopen just isnt a valid option for file-loading on a PPC. I know that PPC2002 is also a bit fussy on how it handles filenames...perhaps that could be it.
(I hope that all made sense...again, its the middle of the night here...hehe)