I have managed to build the VLanControl.dll according to the WIKI http://wiki.videolan.org/.Net_Interface_to_VLC. However there was an error shown during compilation on the following line:
Code: Select all
Error 1 'VLanControl.VlcUserControl' does not contain a definition for 'VlcUserControl_Resize' C:\C#\VLCUserControl\VlcUserControl.Designer.cs 112 57 VLanControl
Code: Select all
this.Resize += new System.EventHandler(this.VlcUserControl_Resize);
But I am not sure if everything is correct with that DLL file, as I can't get it working. Maybe someone can share his DLL. My VLanControl.dll is 61.440 bytes large.
Then the next steps I've tried:
1. Copy VLanControl.dll into my VLC Test Project folder "C:\C#\VLCTest\VLCTest\bin\Debug"
2. Copy libvlc.dll from the VLC application folder (I have version 0.8.6c installed) into "C:\C#\VLCTest\VLCTest\bin\Debug"
3. Copy "plugins" flolder with all files from the VLC application folder into "C:\C#\VLCTest\VLCTest\bin\Debug\plugins"
4. In my VLC Test C# project I doa "Add as Reference" the "VLanControl.dll"
Then all my next steps are not successful, I can't run any video, futhermore I get only empty controls and nothing is displayed
How to proceed? Can someone share some code how to run/show a video in my project?
I can't find and any hint on the WIKI page.
I am using Visual Studio 2005 on Win XP.
Thanks.