Author:Akos Somorjai
Posted: Fri Jan 05, 2018 2:06 pm (GMT+1)
Well, the default search path for DLLs on Windows is the application and the system directories. So if you want to be self contained then place the DLLs beside your add-on. In this case you have to load each DLL manually and get the function pointers' addresses to be able to call them (like Oleg suggested). The other way is to place your DLLs beside ARCHICAD — in this case your DLLs can be called the same way as you call the system DLLs, but we don't consider that very nice![Smile]()
Best, Á kos
Posted: Fri Jan 05, 2018 2:06 pm (GMT+1)
mar_kq wrote: |
Waht would be the best practice for windows? |
Well, the default search path for DLLs on Windows is the application and the system directories. So if you want to be self contained then place the DLLs beside your add-on. In this case you have to load each DLL manually and get the function pointers' addresses to be able to call them (like Oleg suggested). The other way is to place your DLLs beside ARCHICAD — in this case your DLLs can be called the same way as you call the system DLLs, but we don't consider that very nice

Best, Á kos