Calling a function in a DLL that has other DLLs as dependenc

For all your non-technical questions.
Post Reply
Will

Calling a function in a DLL that has other DLLs as dependenc

Post by Will »

I'm calling a function in a DLL that I wrote that depends on several other DLLs. I can get the installer to work by manually copying these DLLs into the same directory as the setup executable. I want to know how to automatically include these DLLs in the project so that I do not have to copy them after every time I recompile the project. I attempted putting them in the Support Files, but that did not help. I found no help in the documentation either.

Thank you
sinan
Site Admin
Posts: 1037
Joined: Sat Nov 13, 2004 8:12 am
Contact:

Post by sinan »

Where is the DLL you are calling located?
You can try placing all DLLs in the same folder and also changing directory into that folder.
Will

Post by Will »

I put the DLL into the project folder. Where should I copy the dependency DLLs?
sinan
Site Admin
Posts: 1037
Joined: Sat Nov 13, 2004 8:12 am
Contact:

Post by sinan »

If you manually copied the DLL in the project folder, that won't work. You will want to add the DLL, and all its dependencies, as Support Files (called Creatives in the visual view). And then load the DLL using the $SUPPORTDIR$ path.
Post Reply