Link to home
Start Free TrialLog in
Avatar of Viesturs
Viesturs

asked on

cannot convert from...

When i write (all variables are corectly defined) :

hBitmap = SelectObject(hMemDC, hOldBitmap);

and then compile, an error reported:
error C2440: '=' : cannot convert from 'void *' to 'struct HBITMAP__ *'
        Conversion from 'void*' to pointer to non-'void' requires an explicit cast

Whats problem?

Thanks.
ASKER CERTIFIED SOLUTION
Avatar of nietod
nietod

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Viesturs
Viesturs

ASKER

I have a lot of questions, but not points. :)
You should have about 150 points left.  That is enough to ask several reasinably "priced" questions.