[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,

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 =

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

2005-09-28 Thread Kornél Pál
as 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: mono-devel-list@lists.ximian.com Sent: Wednesday, September 28, 2005 2:07 PM Subject: Re: [Mono-dev] MapViewOfFile - I