Odysee's LibVLC - Unable to find an entry p named VLC_Create
Posted: 31 Dec 2008 18:00
I've been trying to use several different libraries/wrappers so that I can embed a VLC viewer on a C# WinForm. Odysee's wrapper that he pasted here (viewtopic.php?f=16&t=28553) is one such wrapper I've tried to use.
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)
The Exception is a EntryPointNotFoundException: Unable to find an entry point named 'VLC_Create' in DLL 'libvlc'.
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
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