This article is mainly in the original text download after the use of some of the problems encountered in the record.
Original blog: http://www.cnblogs.com/haibindev/archive/2011/12/21/2296173.html#commentform
NO1: Original blog post download the source code for NetFramework2.0
If you need to change to 4.0, you need to modify all the calling conventions in the API as modified by stdcall to Cdecl
Original: [DllImport ("LIBVLC", CallingConvention = Callingconvention.stdcall, ExactSpelling = True)]
NEW: [DllImport ("LIBVLC", CallingConvention = callingconvention.cdecl, ExactSpelling = True)]
NO2: Unable to load Libvlc.dll
Workaround: Download the installation package locally from the official website and copy the Libvlccore.dll, Libvlc.dll and plugins folders from the installation directory to your own program directory
NO3: Set Plugins folder address
Finally put a debug successful run result:
VLC Player uses