Search code examples
firefoxfirefox-addonfirefox-addon-sdk

How call dll from unpaked extension directory


We developed dll and using it in our extension (addon-sdk,c-types). But how we can call it after extension install? By default dll searching in firefox directory, windows and system32 and not in extension folder. How we can call it?


Solution

  • Call LoadLibraryW with a full path to your dll. See this example by @WladimirPalant