I have a C # project that I created in Visual Studio Express 2010. This program uses a third-party C # class that relies on / calls the C ++ dll. I just copied the file filename.dll to the bin / debug and bin / release folders in the project folder, and the application turned out fine.
I believe that I can copy the executable file for the project to another computer and run it while the filename.dll file is in the same directory as the executable file. However, after trying this on another computer with frames installed, etc., the program will fail with the system .dllnotfoundexception.
Strange, my friend reports that the program runs on his computer with Visual Studio installed, but not with it, but I did not see this.
What could be the reason for this? And how can I get the release executable to work on another machine?
Thanks for any answers! -Chase
source
share