Calling class function from stdcall ?
I am quite new to c++ so please bear with me.
I have an Adlink Angelo RTV24 video capture card, and to grab the images I need to use their c++ library.
This function is an event callback from the card
Code:
AngeloRTV_Set_Callback(1, MediaStreamProc);
The event callback function looks like this
Code:
void __stdcall MediaStreamProc(){
// remove for space
}
I am using their functions within my own class 'angeloWrapper'
However, the MediaStreamProc function can't access any data/functions from my wrapper, as this is part of stdcall and not angeloWrapper.
So, how can I call a function from my wrapper from within the stdcall event function? I've tried calling...
Code:
test(); // identifier not found
angeloWrapper::test(); // illegal call of non-static member function
Any ideas? Many thanks