Original Post
I'm getting a wierd problem that I can't seem to find a way around. Can someone explain this to me?
class a{
public:
void (*draw)();
}
class b{
public:
void draw();
}
init(){
...
a A;
b B;
A.draw = B.draw;
I get the following error:
error C2440: '=' : cannot convert from 'void (__thiscall a::*)(void)' to 'void (__cdecl *)(void)'
Can someone help me out?
~Main
==
Colt "MainRoach" McAnlis
Programmer
www.badheat.com/sinewave
[edited by - duhroach on January 17, 2004 6:16:21 PM]