slothstronaut 10 Posted October 27, 2016 Hey guys, I am running into a problem with an extension I am working on. Basically, I have a DLL (a.dll) called from a mod directory, which depends on another DLL (b.dll). It seems that my a.dll can't find b.dll unless it's in the ARMA root. Is there any way around this? I'd love to have everything I need to be distributed as part of an addon. Cheers for any help you can give me! Share this post Link to post Share on other sites
NeoArmageddon 958 Posted October 27, 2016 The DLL has to be either in the exe's folder (your ArmA root) or another path that is in the environment PATH variable. In theory you could add a .bat to your addon that adds the "/arma3/@myAddon/" to PATH but I doubt that is a good solution as people will just overlook that bat most likely and will run into problems and cause them to spam you with "OMG! FIX YOUR ADDON! NOT WORKING! TOTAL SHIT". Atleast that always happens to me when my readme goes beyond "drop this in your arma folder". 1 Share this post Link to post Share on other sites
x3kj 1247 Posted October 27, 2016 "OMG! FIX YOUR ADDON! NOT WORKING! TOTAL SHIT". Atleast that always happens to me when my readme goes beyond "drop this in your arma folder".particulary on steam... Share this post Link to post Share on other sites
torndeco 128 Posted October 27, 2016 The easiest solution is to statically link the dll.Otherwise you need to mess around with LoadLibrary etc, were you will prob run into issues with Battleye anyways. Share this post Link to post Share on other sites