This project is read-only.

LibVLC.NET crashes when calling LibVLCLibrary.Load()

Jan 11, 2016 at 7:55 AM
I downloaded LibVLC.NET and I have libvlc.dll v2.2.0.0. When I run the Tutorial.exe at my side LibVLCLibrary.Load() causes the app to crash.
Looking into it, I found that
string version = m_libvlc_get_version();

causes the crash. Did anyone face this issue?
Here is the output from the debugger:
The thread 0x2128 has exited with code 259 (0x103).
The program '[5388] Tutorial.vshost.exe: Program Trace' has exited with code 0 (0x0).
The program '[5388] Tutorial.vshost.exe' has exited with code 1073741855 (0x4000001f).
Feb 17, 2016 at 4:52 PM
In LibVLC.NET\LibVLCLibrary.cs, comment out version check at line 153 to 163. Something change in libvlc_get_version between version 1.x and 2.x of VLC.