Archived

This topic is now archived and is closed to further replies.

the darkening

Functions in classes

Recommended Posts

the darkening    122
My problem is the following: In a DLL, I have the function int get_proc(void *); I pass a local function from another DLL to it and that works fine. But if I try to pass a function inside a class, I get an parameter conversion error like <'''' cannot be converted ...>. Is there any way to get this working?? Darkening

Share this post


Link to post
Share on other sites
Void    126
The syntax for pointer to class member functions and pointer to functions are different.

Check out the usenet C++ Faq for class function pointers.

Share this post


Link to post
Share on other sites