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

For all your non-technical questions.
Will

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

Postby Will » Thu Jun 23, 2005 4:04 pm

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: 1028
Joined: Sat Nov 13, 2004 8:12 am
Contact:

Postby sinan » Thu Jun 23, 2005 7:19 pm

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

Postby Will » Fri Jun 24, 2005 10:15 am

I put the DLL into the project folder. Where should I copy the dependency DLLs?

sinan
Site Admin
Posts: 1028
Joined: Sat Nov 13, 2004 8:12 am
Contact:

Postby sinan » Fri Jun 24, 2005 4:30 pm

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.


Return to “Non-Technical”

Who is online

Users browsing this forum: No registered users and 77 guests