|
-
June 13th, 2009, 02:24 PM
#6
Re: How to improve the File Merging
make a copy of the first file.
http://msdn.microsoft.com/en-us/libr...51(VS.85).aspx
open the file for appending data
http://msdn.microsoft.com/en-us/libr...58(VS.85).aspx
When writing to the file, check to see if the bytes writen are the same as the buffer size, if they are tthan u can increase the buffer. every computer has a diffrent optimal buffer size. ( i do believe computers these days have around 10mb-20mb as optimal buffer, but u can try increasing the buffer by 1mb per time
http://msdn.microsoft.com/en-us/libr...47(VS.85).aspx
google result:
http://www.programmersheaven.com/mb/...ting/?S=B20000
Last edited by wigga; June 13th, 2009 at 02:51 PM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|