Topic: Help with defining WNDCLASS


Author: browning@netcom.com (Bob Browning)
Date: 1995/04/28
Raw View
I'm posting this question for a friend who is having some trouble
teaching himself (borland) C++

When defining WNDCLASS in int pascall winmain, I receive the following
error message:
   Cannot convert 'const void near' to 'const HBRUSH__NEAR' in function
pascal winmain in line: WNDCLASS.hbrBackground=GetStockObject(WHITE_BRUSH)

What is wrong with this?

Please reply either to this post, or e-mail to :
                        laszlo_pook@smtplink.medcom.amedd.army.mil

Thanks in advance for any help.