Hi all!
Sorry to bump this thread so many years later
but I just wanted to confirm that the problem wasn't with the
realloc() function, even when I was using wrongly as pointed out
but rather due to conflicts between
ixemul.library and some patches (like MCP) that I have now sorted out!
Thanks all for your help!