iBitmap = new (ELeave) CFbsBitma
gc.UseBrushPattern(iBitmap); /// Error at this line
const TRect bRect(0,40,180,100);
gc.DrawRect( bRect );
Error -- Panic WSERV 7
SDK doc says -- A corrupt bitmap handle was encountered. This is a common panic uncovered when a bitmap handle refers to nothing.
Now, the MBM is creating in \resource\apps ..... I am not able to find where exactly is the problem lies.
How can i be sure that the MBM is created correctly. CustomControls.mbm has a size of 254 bytes. How can i check whether my MBM is corrupt or not.