libtag.dll - load dynamically from custom path

Birunthan Mohanathas birunthan.mohanathas at gmail.com
Thu Jan 17 16:04:25 UTC 2013


>
> 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?
>

Load libtag.dll manually with LoadLibrary() prior to loading libtag_c.dll
and you should be fine.

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).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/taglib-devel/attachments/20130117/ade11287/attachment.html>


More information about the taglib-devel mailing list