title: Can .NET PInvoke dynamically load a native dll from a user specified directory?
body: <p>I have a .NET application and need to load a native library whose location is specified by the user.  PInvoke looks like it'll only load from the global search paths (or a path specified at compile time?).  Would the best method be to create a C++/CLI assembly which calls LoadLibrary at runtime?</p>
  
  <p>Would C++/CLI be simpler than C# PInvoking LoadLibrary?</p>