|
-
May 11th, 1999, 06:30 AM
#1
Help with CBitmap::GetBitmap fails with NT?
bool CMyBmpClass::Load( UINT p_resID )
{
if( m_bitmap.LoadBitmap( p_resID ))
{
if( m_bitmap.GetBitmap(&bm) )
m_useHBitmap = true;
else
return false;
}
return true;
}
This fails every time with NT but works fine under 98 with the same resource bitmap?
Any ideas?
Regards
Stuart Ledwich
-
May 11th, 1999, 06:39 AM
#2
Re: Help with CBitmap::GetBitmap fails with NT?
Where does the bm parameter in GetBitmap(&bm) come from? Shouldn't there be a declaration:
BITMAP bm;
before you do GetBitmap(&bm)?
/Robert
-
May 11th, 1999, 09:01 AM
#3
Re: Help with CBitmap::GetBitmap fails with NT?
The
BITMAP bm;
declaration is in the class declaration.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|