On Tue Feb 27 03:56:30 2024 +0000, Alex Henrie wrote:
For what it's worth, changing `malloc` back to `HeapAlloc` is another way to avoid the crashes, and I don't think 32-bit `HeapAlloc` aligns or overallocates any more than `malloc` does. I also tried allocating 10 times the required memory and it did not fix anything.
NdrOle*() are going through allocation spy thing, but internally are probably same HeapAlloc(). Maybe they reallocate, or something else. How do you know it's not calling HeapSize() ?