VLC ActiveX plugin v2
Posted: 07 Jan 2009 04:19
I used VLC 0.9.8a ActiveX plugin v2 under vc2005 MFC
it will work
======================================================
CVLCControl0 *m_pvlcV21=new CVLCControl0;
m_pvlcV21->Create("test",SW_SHOW,CRect(300,100,545,315),this,1234);
m_pvlcV21->ShowWindow(SW_SHOWNORMAL);
VARIANT va;
VariantInit(&va);
m_pvlcV21->addTarget("C:\\test.avi",va,0x002+0x004,-666);
m_pvlcV21->play();
======================================================
but when I use VLC 0.9.8a ActiveX plugin v2 with the same code
m_pvlcV21->addTarget("C:\\test.avi",va,0x002+0x004,-666); will post error message "member not found"
Does anyone know how to solve it
Thanks
it will work
======================================================
CVLCControl0 *m_pvlcV21=new CVLCControl0;
m_pvlcV21->Create("test",SW_SHOW,CRect(300,100,545,315),this,1234);
m_pvlcV21->ShowWindow(SW_SHOWNORMAL);
VARIANT va;
VariantInit(&va);
m_pvlcV21->addTarget("C:\\test.avi",va,0x002+0x004,-666);
m_pvlcV21->play();
======================================================
but when I use VLC 0.9.8a ActiveX plugin v2 with the same code
m_pvlcV21->addTarget("C:\\test.avi",va,0x002+0x004,-666); will post error message "member not found"
Does anyone know how to solve it
Thanks