Usage of VLanControl in C#

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
sun_yiqin
New Cone
New Cone
Posts: 4
Joined: 11 Nov 2008 03:08

Usage of VLanControl in C#

Postby sun_yiqin » 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?

Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 22 guests