|
-
April 16th, 1999, 11:47 AM
#2
Re: Function Pointer
It's a basic C++ problem. The prototype you specified was a pointer
to a function returning void and taking no arguments. You passed a
pointer to a member function which takes an implicit this pointer and
thus, gave the error. To do this, you need to pass a static member
function, which will have to no this, or a non-member function.
Another possibility is to pass a static member function along with an
object pointer if you need one.
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
|