Hey friends

i am trying to display a large bitmap file using following code sigment.


hdcroi = GetDC(hwnd1);
hBaseBitmap = CreateDIBitmap(hdcroi, (LPBITMAPINFOHEADER) &pBmpInfor->bmiHeader,
CBM_INIT, pBits, (LPBITMAPINFO) pBmpInfor, DIB_RGB_COLORS );

if the file is large , then handle to bitmap returned is NULL. How can i get a handle of large bitmaps.

Kindly help. thankx .