0
0

I’m trying to declarate a callback function inside a class… I’m setting the callback function (FSOUND_Stream_SetSyncCallback) in the same class… my problem is …when i put this callback function extern to the class, it works, but when I put this function inside the class, it occurs a conversion error… and I need to put this function inside the class… Is it possible?

  • You must to post comments
0
0

You will need to make the function a static member of the class. Non-static class functions have an implied ‘this’ parameter that standard callbacks have no knowledge about.

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.