Original Post
My problem is as simple as annoying: I'm just trying to reserve a special amount of memory(the size is defined by some flags) using ptr=malloc(size) and it worked fine for now but now i tried some different flags so that i get a size of 24 but when i call ptr=malloc(size) (with size=24) i get an unhandled exception in 0x0000003c. How can this be possible? sadly i cannot show you the address the pointer is pointing to because the debugger refuses to tell but i think that shouldn't matter anyway. regards, m4gnus