speed on windows

Lukáš Lalinský lalinsky at gmail.com
Tue Jul 25 18:31:06 CEST 2006


Sebastian Pipping wrote:
> btw does anybody know if there is really
> no native ftell() equivalent in windows?
> i currently track the position by hand
> when the file is read/written/sought but
> i am quite surere the must be a better solution
> to this. 

See the "Remarks" section of
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wcedata5/html/wce50lrfSetFilePointer.asp

pos = SetFilePointer(file, 0, NULL, FILE_CURRENT);

-Lukáš


More information about the taglib-devel mailing list