Usage of VLanControl in C#
Posted: 11 Nov 2008 08:57
Hi,
I have been able to compile the VLanControl () and include it in a test project.
And I also copy libvlc.dll and the Plugins to the "Projects\Test\Test\bin\Debug".
I drop the VLCUserControl on the form and then use the AddToPlayList method to add the file to be played, but nothing works. I don't see anything in my VLCUserControl on the form.
private void Form1_Load(object sender, EventArgs e)
{
int pid=vlcUserControl1.AddToPlayList("c:\\file1.wmv", "Test", null);
vlcUserControl1.PlayItem(pid);
}
Could anyone help me? I will really appreciate, I have tried for almost a week. Thanks!
I cannot import the "libvlc.dll" file to the project, I think maybe it is the reason?
I have been able to compile the VLanControl () and include it in a test project.
And I also copy libvlc.dll and the Plugins to the "Projects\Test\Test\bin\Debug".
I drop the VLCUserControl on the form and then use the AddToPlayList method to add the file to be played, but nothing works. I don't see anything in my VLCUserControl on the form.
private void Form1_Load(object sender, EventArgs e)
{
int pid=vlcUserControl1.AddToPlayList("c:\\file1.wmv", "Test", null);
vlcUserControl1.PlayItem(pid);
}
Could anyone help me? I will really appreciate, I have tried for almost a week. Thanks!
I cannot import the "libvlc.dll" file to the project, I think maybe it is the reason?