![]() |
|
#5
|
|||
|
|||
|
Correct way to do what you need:
VirtualAlloc(0x00830000, 0x4000, MEM_RESERVE | MEM_COMMIT, PAGE_READWRITE) The second example works fine because: "If the value of the lpAddress parameter is NULL, specifying MEM_COMMIT without MEM_RESERVE causes the function to BOTH reserve and commit the memory". (MSDN) |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Unpack OneWay.dll problem,Import REConstructor v1.6 Final fails. | winndy | General Discussion | 3 | 01-07-2006 10:22 |
| MapConv fails to apply IDA .MAP labels or comments | 5Alive | General Discussion | 5 | 05-25-2005 19:55 |
| Allocating memory at a specific location | redbull | General Discussion | 5 | 04-18-2005 19:37 |