Pravish
September 20th, 2007, 01:42 AM
Hi,
I am writing an application using Win32 api and using vc++ 6.0 under WinXp sp2.. I need to dynamically allocate a 9MB of space to store some .bmp image. I tried doing it with the 'new' operator but it seems to be failing since i m not getting the data. The space need to return me LPBYTE pointer.. can anybody suggest me an alternative to new operator and how can i ascertain that new is failing since its not giving me any exception!
thanks
regards
I am writing an application using Win32 api and using vc++ 6.0 under WinXp sp2.. I need to dynamically allocate a 9MB of space to store some .bmp image. I tried doing it with the 'new' operator but it seems to be failing since i m not getting the data. The space need to return me LPBYTE pointer.. can anybody suggest me an alternative to new operator and how can i ascertain that new is failing since its not giving me any exception!
thanks
regards