I have successfully initialized vlcontext but I cannot play anything.
As soon as I assign media program gives me "Object reference not set to an instance of an object." error.
Here is what I am trying to do :
vlcControl.Media = New Vlc.DotNet.Core.Medias.PathMedia(filename) ' throws error
vlcControl.Media = New LocationMedia(streamlocation) 'throws error
Dim NewMedia As MediaBase = New PathMedia(filename) 'movie path
vlcControl.Media = NewMedia 'throws error
I am using VLC 2.0.5 player
VideoLan DotNet for WinForm, WPF, SL5 - 2011.11.29
Windows 7 SP1 64Bit
Microsoft Visual Studio 2008 Version 9.0.30729.1 SP (with compile option set to x86)
Microsoft .NET Framework Version 3.5 SP1
Thanks in advance