要给CreateFileMapping()传递整个文件的大小,而非固定的2MB。
CreateFileMapping()的参数:
dwMaximumSizeHigh
The high-order DWORD of the maximum size of the file mapping object.
dwMaximumSizeLow
The low-order DWORD of the maximum size of the file mapping object.
If this parameter and dwMaximumSizeHigh are 0 (zero), the maximum size of the file mapping object is equal to the current size of the file that hFile identifies.
【 在 javame 的大作中提到: 】
: 试过了,还是老样子。
:
--
修改:z16166 FROM 125.35.121.*
FROM 125.35.121.*