Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to work with capSetCallbackOnFrame (vfw) in MFC

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
Hy everybody,

I'm trying to use a video for windows callback funktion wich is called capSetCallbackOnFrame in a MFC program.
Trying to use this macro is easy: capSetCallbackOnFrame ( hWnd, mycallback ).
But it's much more difficult for me to create the function mycallback!!
I tried to create a member function of the view class, because vfw becomes initiated in this class, LPRESULT PASCAL mycallback ( ... but it didn't work.
I'm a beginner and all I did was blind trying, so can everybody tell me, how it works and explain me why it works this way ??

Hope you'r able to help me, I'm becoming mad of this !!
Help,
SAM
 
Sorry guys I just recognized that I posted to the wrong forum !!
SAM
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top