|
-
May 9th, 2009, 02:00 PM
#8
Re: VB6 - Huge (>2GB) File I/O Class
1) 0-based. First byte = position 0, second byte = position 1
2) It should not be (Position - 1). I used that code for an application where I always had to write to (Position - 1) and to make it easier for myself I added (- 1) to the API_WriteFile sub. You need to remove that.
Last edited by Chris001; May 9th, 2009 at 02:04 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
|