DLL missing error when EXE run from command line [

2019-08-12 22:53发布

问题:

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.