Hi,
I'm testing your code it works fine for small image size (like 200KB). But on large image arrays, I get ERROR_INVALID_PARAMETER on VirtualAllocEx because it is trying to access reserved memory.
So I search and ended up to this topic. But I can't figure it out because I think it is going too complicated. How can we just call VirtualAllocEx without specifying a specific address?
Thanks