C++ MapViewOfFile fails

后端 未结 1 1669
难免孤独
难免孤独 2021-01-25 22:06

I am trying to memory-map a file on Windows using VS2010. I am doing this in a DLL. The first instance of the DLL maps the file just fine. The second instance within the same p

相关标签:
1条回答
  • 2021-01-25 22:39

    You request to map the entire file into memory. How big is it? There may very well not be a large enough contiguous range of unallocated process's address space.

    0 讨论(0)
提交回复
热议问题