Okay so I'm trying to replace all my malloc/free things with new/delete like I should. Now, how do I do the following:Ah! Well, strictly speaking this is a bit of Microsoft C, so I'd be tempted to leave it as it is.
BITMAPINFO* bmi;
bmi = (BITMAPINFO*)malloc(sizeof(BITMAPINFO) + (sizeof(RGBQUAD) * 8));
in a C++-ish way?
Hah! See :P ! So there is no way to tell 'new' to allocate a certain amount of memory and then casting/splitting it as needed?
cheers,
roel
