multiple vlc activex instance
Posted: 19 Jun 2009 09:33
I am coding an project which use multiple instances of VLC activex to show 16-64 video camera in PC. using vc6.0;
the problem is, when the vlc number is upto 10, there are often an error saying: "Unhandle exception in xxx.exe(libvlccore.dll): 0xc00000005: Access Violation".
the code is as follows:
VARIANT va;
VariantInit(&va);
m_vlc1.addTarget("rtsp://192.168.1.39/xxx.mp4", va, 4, 0);
m_vlc1.SetAutoLoop(TRUE);
m_vlc1.play();
.....
m_vlc10.play();
Anyone could help me? Thanks
the problem is, when the vlc number is upto 10, there are often an error saying: "Unhandle exception in xxx.exe(libvlccore.dll): 0xc00000005: Access Violation".
the code is as follows:
VARIANT va;
VariantInit(&va);
m_vlc1.addTarget("rtsp://192.168.1.39/xxx.mp4", va, 4, 0);
m_vlc1.SetAutoLoop(TRUE);
m_vlc1.play();
.....
m_vlc10.play();
Anyone could help me? Thanks