title: How to load a DLL from a shell extension?
body: <p>I have written a small shell extension, the stub works, but want it to read some info from an SQLite database.</p>
  
  <p><a href="http://system.data.sqlite.org/index.html/doc/trunk/www/downloads.wiki" rel="nofollow">SQLite needs 2 DLLs</a>:</p>
  
  <ul>
  <li><code>System.Data.SQLite.dll</code>: managed-only core assembly</li>
  <li><code>SQLite.Interop.dll</code>: native interop assembly</li>
  </ul>
  
  <p>In the past, I have successfully built desktop applications using these 2 DLLs, by putting them in the same folder as the <code>.exe</code> file.<br>
  But in the case of a shell extension, there is no such thing as a <code>.exe</code> file, so where should I put these DLLs?</p>
  
  <p>Note: Right now I deploy the shell extension with <a href="http://www.codeproject.com/Articles/174369/How-to-Write-Windows-Shell-Extension-with-NET-Lang" rel="nofollow">Regasm</a>, but I plan to deploy them with <a href="http://wixtoolset.org" rel="nofollow">WiX</a> in the future.</p>