|
-
June 25th, 2003, 01:38 PM
#1
static_cast error in VS.Net 2003
Well, much thanks to everyone who has helped me with the port to VS.Net 2003. I have run across another interesting error when compiling. This application compiles under VC6.
I get the following error:
error C2440: 'static_cast' : cannot convert from 'void (__thiscall CViewZoom::* )(void)' to 'LRESULT (__thiscall CWnd::* )(WPARAM,LPARAM)'
the line of code it barks at is:
ON_MESSAGE(WM_NCDESTROY, OnNcDestroy)
What is wrong with this?
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
|