Hi,
According to MSDN, MapViewOfFile should be
LPVOID MapViewOfFile(
HANDLE hFileMappingObject,
DWORD dwDesiredAccess,
DWORD dwFileOffsetHigh,
DWORD dwFileOffsetLow,
SIZE_T dwNumberOfBytesToMap
);
I have some code which looks like this
dataView = MapViewOfFile(dataMap, FILE_MAP_WRITE,
Paul F. Johnson wrote:
Hi,
According to MSDN, MapViewOfFile should be
LPVOID MapViewOfFile(
HANDLE hFileMappingObject,
DWORD dwDesiredAccess,
DWORD dwFileOffsetHigh,
DWORD dwFileOffsetLow,
SIZE_T dwNumberOfBytesToMap
);
I have some code which looks like this
dataView = MapViewOfFile
IntPtr and cast BUFFERLEN to IntPtr
it will compile on mcs as well, and you will get the same result.
Kornél
- Original Message -
From: "Robert Jordan" <[EMAIL PROTECTED]>
To:
Sent: Wednesday, September 28, 2005 2:07 PM
Subject: Re: [Mono-dev] MapViewOfFile - I think there is