Re: Got compiler error when I use the code from msdn sit
- From: "Alexander Nickolov" <agnickolov@xxxxxxxx>
- Date: Fri, 13 Oct 2006 15:00:30 -0700
Your method must be static.
BTW, these are basic C++ language questions.The right newsgroup
for them is:
microsoft.public.vc.language
--
=====================================
Alexander Nickolov
Microsoft MVP [VC], MCSD
email: agnickolov@xxxxxxxx
MVP VC FAQ: http://www.mvps.org/vcfaq
=====================================
"Pucca" <Pucca@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:2BE64589-C9CF-4145-B4C3-5FF21F84A802@xxxxxxxxxxxxxxxx
I copied the copde from
http://windowssdk.msdn.microsoft.com/en-us/library/ms676867.aspx
UINT CALLBACK CGroupPage::PageCallbackProc( HWND hWnd,
UINT uMsg,
LPPROPSHEETPAGE ppsp)
psp.pfnCallback = &CGroupPage::PageCallbackProc;//error C2440:
When I compile I got the following error:
error C2440: 'type cast' : cannot convert from 'UINT (__stdcall
CGroupPage::* )(HWND,UINT,LPPROPSHEETPAGEW)' to 'LPFNPSPCALLBACKW'
How can I correct this problem? Thanks.
Thanks.
.
- Prev by Date: Re: Event notification through IDispatch with the Flash ActiveX object
- Next by Date: Re: Documentation on implementing a Windows Scripting Engine
- Previous by thread: Documentation on implementing a Windows Scripting Engine
- Next by thread: Help Needed With Reading Text From Open Windows
- Index(es):