<div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div></div><div>I'm using C bindings. I can load libtag_c.dll dynamically from custom directory, but libtag_c.dll is looking for libtag.dll in standard system paths (system32 and application directory). Can I somehow set custom path to the libtag.dll?</div>
</blockquote></div><br>Load libtag.dll manually with LoadLibrary() prior to loading libtag_c.dll and you should be fine.<br><br>Alternatively,
you could also use use SetDllDirectory()/AddDllDirectory(), but these
functions are not available on all Windows versions (and you need to use them
with caution in any case).<br>