Hi.
I'm building a project and running it in visualc++ 6.0 and running it on the pc. gapiapplication.h #defines operator new to use _CLIENT_BLOCK. This causes a problem when i call delete because delete assumes _NORMAL_BLOCK. For example:
int* f = new int;
delete f;
fails because it malloc's with _CLIENT_BLOCK and then later fails by calling free with _NORMAL_BLOCK instead of client block. Has anyone else run into this?
-David
I'm building a project and running it in visualc++ 6.0 and running it on the pc. gapiapplication.h #defines operator new to use _CLIENT_BLOCK. This causes a problem when i call delete because delete assumes _NORMAL_BLOCK. For example:
int* f = new int;
delete f;
fails because it malloc's with _CLIENT_BLOCK and then later fails by calling free with _NORMAL_BLOCK instead of client block. Has anyone else run into this?
-David