title: Delphi PasLibVLC - use without installing VLC player
body: <p>In our application, I am trying to play a stream through the TPasLibVlcPlayer component (<a href="http://prog.olsztyn.pl/paslibvlc/" rel="nofollow">http://prog.olsztyn.pl/paslibvlc/</a>). I succeeded in doing this, but only when VLC is installed.</p>
  
  <p>The goal is to deploy the needed dll's with our application so we can use our application on a (Windows) pc that doesn't have VLC installed.</p>
  
  <p>Question is: what do I need to do to make this work? So far I tried to put </p>
  
  <ul>
  <li>libvlc.dll</li>
  <li>libvlccore.dll</li>
  </ul>
  
  <p>in a separate folder and deinstall VLC, then set the path to these dll's</p>
  
  <pre><code>PasLibVlcPlayer1.VLC.Path := 'C:\Tools';
  </code></pre>
  
  <p>However when trying to play the stream, nothing happens. I debugged and saw that the libvlc.dll is loaded (a handle is returned) and the needed procedures could be executed (<em>GetProcAddress</em> returns an assigned addres for all supported procedures), however when <em>libvlc_new</em> is called (inside <em>TPasLibVlc.GetHandle</em>), this returns nil.</p>
  
  <p>Should there be other dll's in that directory or what do I need to do to make this work?</p>