mrkerry
asked on
VC++ Error C2642
I'm using MSVC++ V1.52
Trying to set up a simple 1 sec timer.
On the line "ON_WM_TIMER()", which the tool inserted,
I get the following compile error:
"error C2642: cast to pointer to member must be from related pointer to member"
This works OK in another class, but not this one.
Thanks,
MrKerry@aol.com
Trying to set up a simple 1 sec timer.
On the line "ON_WM_TIMER()", which the tool inserted,
I get the following compile error:
"error C2642: cast to pointer to member must be from related pointer to member"
This works OK in another class, but not this one.
Thanks,
MrKerry@aol.com
Are you sure that your class delivered from CWnd class?
Please post the source code that was generated (header and cpp).
Post as a comment to here and/or direct to me at Roger_Onslow@compsys.com.a u
Post as a comment to here and/or direct to me at Roger_Onslow@compsys.com.a
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks...your answer was right on. I don't know how to grade but you get an A.
Thanks, your welcome.