Play DVB-T device using ActiveX Control in MFC?
Posted: 03 May 2010 15:51
Hi
Is it possible to play DVB-T device using ActiveX in MFC? In console i can let VLC play DVB-T device through this command
but while i use ActiveX in MFC, and this command didn't seem to work. Did I miss anything?
I am using vlc 1.0.5, ActiveX v1 under Windows 7.
Can anyone help me with this >< , Thanks.
Is it possible to play DVB-T device using ActiveX in MFC? In console i can let VLC play DVB-T device through this command
Code: Select all
dvb:// :dvb-adapter=0 :dvb-frequency=593000000 :dvb-srate=8 :dvb-bandwidth=6 :program=501
Code: Select all
BSTR option = SysAllocString(_T(":dvb-adapter=0 :dvb-frequency=593000000 :dvb-srate=8 :dvb-bandwidth=6 :program=501"));
VARIANT va;
VariantInit( &va );
va.bstrVal = option;
pvlc->addTarget(_T("dvb://"), va, 0, 1);
pvlc->play();
Can anyone help me with this >< , Thanks.