Original Post
Hi, I just tested my own "game purpose" Memory Manager and it seems to work fine until I try to make a call to QueryPerformanceFrequency(). GetLastError() shows the error code 998 which means "Invalid access to memory location". This all happens after about 115 allocations and a few deallocs which includes initializing FMOD, FreeType, OpenGL and creating the window without problems. I remember having this problem when I started writing the manager the problem sometimes just appeared and disappeared again after making a few changes. But now I don't see anymore obvious bugs in my code which is about 1000 lines of pointer intensive code and I'm doing block coalescing, etc. just all the good stuff a real memory manager is supposed to do :) Do you have any tips for me about how to find out what's going wrong here? Baraclese