Zyrenthian
Programmer
Hi all,
I am running into some problems using CreateFileMapping. My assumption is there is a maximum size that can be created for the file that I need to adjust. CreateFileMapping works fine until i try to open a file that is 89327810 bytes. Then it just craps out. I dont understand why however since CreateFileMapping should be able to handle a 64 bit value for the file size...
i.e. low and high passed in where low = 89327810 and high = 0
Does anyone here have any past experience with CreateFileMapping? and if so could you point me in the right direction?
All that I am getting at the moment is an exception stating
An unknown error occured in an unknown file
The file does exist and the path is correct. All that is checked. The problem is on the call to CreateFileMapping.
Thanx in advance
Matt
P.S. Sorry if this post was a bit redundant... it was written up quick.
I am running into some problems using CreateFileMapping. My assumption is there is a maximum size that can be created for the file that I need to adjust. CreateFileMapping works fine until i try to open a file that is 89327810 bytes. Then it just craps out. I dont understand why however since CreateFileMapping should be able to handle a 64 bit value for the file size...
i.e. low and high passed in where low = 89327810 and high = 0
Does anyone here have any past experience with CreateFileMapping? and if so could you point me in the right direction?
All that I am getting at the moment is an exception stating
An unknown error occured in an unknown file
The file does exist and the path is correct. All that is checked. The problem is on the call to CreateFileMapping.
Thanx in advance
Matt
P.S. Sorry if this post was a bit redundant... it was written up quick.