Hi to all!
I never used Pointer Functions, and now i'm trying to use a C Pointer Function in Visual Studio 2005. But there's a problem... the pointer function isn't working properly... This kind of functions doesn't work in the same way in C and in C++?
My pointer function declaration in C is:
void (*FktFunction)( void * RegistFuncPtr, TOnDriverEvent eventcallback);
and the call definition is:
(*FktFunction)(TDriverLayer_RegisterDevice, TSMAData_OnNewEvent);
At this time, the function TDriverLayer_RegisterDevice isn't working at all.
The declaration of that function is:
int TDriverLayer_RegisterDevice(struct TDevice * newdev);
Anyone could help me with this?
Best regards.