读书人

IFile接口对应ftell有关问题

发布时间: 2012-01-20 18:53:53 作者: rapoo

IFile接口对应ftell问题
IFile接口中没有C库中的ftell()函数,怎样得到文件指针的当前位置?在应用中需多次用到,求求有经验的高手和版主帮帮忙,谢谢!

[解决办法]
IFILE_Seek 后保留相关信息不可以吗?
[解决办法]
仔细看看IFILE的API介绍
IFILE_Seek()

In the special case when the seek type is _SEEK_CURRENT and the move distance is 0 (zero), the position of the current file pointer is returned

读书人网 >Brew

热点推荐