Hi

> Okay so I'm trying to replace all my malloc/free things with 
> new/delete like I should. 

Good!

> Now, how do I do the following:
> 
> BITMAPINFO* bmi;
> bmi = (BITMAPINFO*)malloc(sizeof(BITMAPINFO) + (sizeof(RGBQUAD) * 8));
> in a C++-ish way?

Ah! Well, strictly speaking this is a bit of Microsoft C, so I'd be 
tempted to leave it as it is. 

Regards
Paul

Paul Grenyer
Email: [EMAIL PROTECTED]
Web: http://www.paulgrenyer.co.uk

Have you met Aeryn: http://www.paulgrenyer.co.uk/aeryn/?
Version 0.3.0 beta now available for download.




Reply via email to