[Mono-dev] MapViewOfFile - I think there is a bug

2005-09-28 Thread Paul F. Johnson
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,

Re: [Mono-dev] MapViewOfFile - I think there is a bug

2005-09-28 Thread Robert Jordan
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

Re: [Mono-dev] MapViewOfFile - I think there is a bug

2005-09-28 Thread Kornél Pál
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