Put the DLL and lib in a folder, and then in VS2013 would - & gt; Input set path, application no problem, but the same method in VS2015 Build successful, run time error could not find the DLL, you need to put the DLL file copy to the Debug to run,,, how to make VS2015 like 2013 automatically find the DLL file and not need to manually copy the DLL? Have knowledge of the situation
CodePudding user response:
You are in VS Ctrl + F5 to run directly, or in the engineering the debug directory manually double-click exe program run?
CodePudding user response:
Actually your DLL to lib finally put into a directory with exe
CodePudding user response:
As long as the DLL with exe a directory system will automatically load the DLL