These Are Both Members Of the wlWindow Class:
quote:
// Declaration of member function.
LRESULT CALLBACK fProc(unsigned int);
// Failed attempt to define a member of
// another class with a pointer to
// public function.
xClass.xfProc = &wlWindow::fProc;
Here's my error
"Cannot convert long (pascal wlWindow::*)(unsigned int) to long(pascal *)(unsigned int)"
After reading a ton of stuff online, talking to people in chatrooms, and referring to c++ documentation, I still don't know how to fix this (or how to cast it properly). If anyone could help, it would be greatly appreciated.
Edit: The people in the chatrooms were basically useless (didn't know c++ period yet they were in a programming chatroom), and the guides online never mentioned anything like this.
[ February 17, 2004: Message edited by: anphanax ]