Re: [Dev-C++] ANSI c++ forbids implicit conversion from void in argument passing
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
From: Daniel G. <sp...@ho...> - 2003-01-04 14:36:32
|
you need to perform a cast on one of the parameters. possibly (HBRUSH)LR_DEFAULTCOLOR What types are the values being passed? >From: "Danny Roelofs" To: Subject: [Dev-C++] ANSI c++ forbids implicit >conversion from void in argument passing Date: Sat, 4 Jan 2003 15:09:11 >+0100 > > >wcex.hIconSm = LoadImage(wcex.hInstance, lpwc->lpszClassName, IMAGE_ICON, >16, 16, LR_DEFAULTCOLOR ); > > >I know that this has to do some with the difference between C and C++, but >how do i convert this to C++ ?. > >Danny. > _________________________________________________________________ Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail |