[FONT="]Has anyone used the public class from Binarysharp, called MemorySharp.[/FONT]
[FONT="]I am not able to set the allocation size. No matter what I change it to it will always allocate 4096 bytes. [/FONT]
[FONT="]Can someone take a look at the source and see if they can help me with this, thank you.[/FONT]
[FONT="]Source is available here : [/FONT]http://binarysharp.com/files/file/9-memorysharp-source/
I've tried editing the source myself and manually writing the size, where it calls the allocation, but it still does not work. I am assuming that it has something to do with setting the protection on the page.
Any thoughts on this are greatly appreciated, thanks in advance.
[FONT="]I am not able to set the allocation size. No matter what I change it to it will always allocate 4096 bytes. [/FONT]
[FONT="]Can someone take a look at the source and see if they can help me with this, thank you.[/FONT]
[FONT="]Source is available here : [/FONT]http://binarysharp.com/files/file/9-memorysharp-source/
I've tried editing the source myself and manually writing the size, where it calls the allocation, but it still does not work. I am assuming that it has something to do with setting the protection on the page.
Any thoughts on this are greatly appreciated, thanks in advance.