e*********s 发帖数: 200 | 1 In Win32, every process has a 4Gb virtual address space. This means that
valid addresses are in the range of 0x00000000 to 0xFFFFFFFF.
In DOS and Win16, all apps share the same address space. As a consequence,
an app can write over another app memory, including the OS. Of course this
leads to the very unpleasant situation that an app behavior depends on other
apps status. If an app writes over the system code or data areas, the system
becomes unstable and probably will crash.
Win32 solved this p | e*********s 发帖数: 200 | 2 btw, can you divide your array to pages, so you can address them page by page,
so each time you only need to address smaller space :)
【在 e*********s 的大作中提到】 : In Win32, every process has a 4Gb virtual address space. This means that : valid addresses are in the range of 0x00000000 to 0xFFFFFFFF. : In DOS and Win16, all apps share the same address space. As a consequence, : an app can write over another app memory, including the OS. Of course this : leads to the very unpleasant situation that an app behavior depends on other : apps status. If an app writes over the system code or data areas, the system : becomes unstable and probably will crash. : Win32 solved this p
|
|