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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Passing variables

Status
Not open for further replies.

Tatchster

Programmer
Oct 13, 2002
3
AU
Can anybody tell me how to pass variables between direct show filter and application running it?
For example:
Jukeboxdlg.cpp is using a filter to play a .avi file
and I wanna pass a CBitmap pointer into the running filter so I can do some effect on the playing clip

How can I do that? I have tried to add a member function into the filter but I dunno how can I call it in Jukeboxdlg.cpp...coz I cant find the declaration of filter but IBasefilter *pbasefilter
And I try to use it like:
pbasefilter->member_function_I_was_added();
it doesnt work.....can anyone solve my problem?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top