PDA

View Full Version : I need to fill big file with zero very fast (PocketPC)


IIIu30uD
25th July 2005, 10:23 AM
Any ideas?
If I try to fill file with some number of threads it will be faster than one?

thx for any help

mamaich
25th July 2005, 11:07 AM
According to MSDN you can call WriteFile from several threads at a time, so that may speedup things. But I'd recommend either of 2 methods - calling SetFilePos() or using memory mapped files.