DLL missing error when EXE run from command line [VS2010]

北城以北 提交于 2020-01-24 22:42:51

问题


So I built an SSH-connect-test console application using libssh library, and is dependent on ssh.dll.

The application works perfectly fine when run from inside VS2010, but gives "ssh.dll missing from your computer. Reinstall the program" error when the same EXE is run from the command prompt.

Any inputs as to why am I seeing this dual behaviour of the console application from inside and outside of VS2010?

Thanks.


回答1:


you should download ssh.dll by searching it in google .when the file downloads ,paste it in your application directery download it here http://originaldll.com/file/rebex.net.ssh.dll/29300.html




回答2:


Solved.

Had to copy the dependencies (DLL) inside the /Release or /Debug folder to run the EXE.



来源:https://stackoverflow.com/questions/29889547/dll-missing-error-when-exe-run-from-command-line-vs2010

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!