I've been unable to get this to work, and since it doesn't report any errors (it just fails silently) I started adding try-catch statements and Console.WriteLines to his code and trying to figure out what exception was occurring.
I wrapped the Initialize() method in a try-catch block. What I learned is that down in the Initialize() method there is a call to VLC_Create(), and this fails (around line 520)
Code: Select all
m_iVlcHandle = VLC_Create();
Someone else (in another thread) wrote a small VlcHelper class that assist in setting the VLC Path, so I've done that prior to making any calls to the LibVlc class. I've also gone the copy-paste route with the libvlc.dll and the plugins directory. Still no luck.
I'm hoping someone out there has a fix or a solution.
Edit: I've got VLC 0.9.8 installed, Windows XP
-Chris