- This topic has 0 replies, 1 voice, and was last updated 1 month, 2 weeks ago by .
Viewing 1 post (of 1 total)
Viewing 1 post (of 1 total)
- You must be logged in to reply to this topic.
(This message was transferred over from our old forum)
Posted September 9, 2015
By Todd DeBoer
[hr]
I need to use an alternate uEZ function to “SetFilePointer()” found at windos.h, it’s found at emwin example code at “2DGL_DrawBMP.c”, I searched for alternative and I found a combination of ftell(), and fseek(), would do the task, but unfortunately, it’s not included with the uEZ project, so kindly I hope to get your support on how to do something like that.
[hr]
(Follow up post)
The C functions fseek() and ftell() are not implemented directly in uEZ but our API offers the functions UEZFileSeekPosition() and UEZFileTellPosition() as a replacement. More about the file API can be found at the link below. You can also find out more about the uEZ APIs linkage to the FATFS files system by looking at the source code file “/uEZ/Source/Library/FileSystem/FATFS/uEZFileSystem_FATFS.c”.