Re: Weird problem with DACL and memory mapped file on Vista.

On Nov 29, 4:15 am, "Pavel Lebedinsky [MSFT]"
<pa...@xxxxxxxxxxxxxxxxxxxx> wrote:
I forgot to mention in the previous post that OpenFileMapping is
called with PAGE_READWRITE (successful !)

The first parameter in OpenFileMapping is an access mask, not a page
protection value. In your case, you should specify FILE_MAP_WRITE |

This posting is provided "AS IS" with no warranties, and confers no

Dont know how I managed to goof that up ... but good catch,

Thanks a bunch - that fixed it up.