[SOLVED] SSHClient Example lazarus / 38-Networking and Web Programming ---------------------------------------------------------------------- stoffman · 2017-09-21 19:44 Hi All, I'm trying the SSHClient example found in http://wiki.freepascal.org/Components_and_Code_examples On my machine (windows 10) the compiled application crashes immediately with the message "The application was unable to start correctly (0xc00007b)" ... and I cannot debug it in the IDE (V1.8 RC4) it stops immediately without stopping at the breakpoints I placed :-( Anyone else experienced the same thing? Thanks, Yoni ---------------------------------------------------------------------- rvk · 2017-09-21 19:57 Is your Laz 1.8RC4 a 32 bit or 64 bit? You need to put the same bitness dll's from openssl in your exe directory. If you use the wrong ones you can get this error. The ones included there could be 32 bit and your Lazarus could be 64 bit. So get the latest correct ones from http://indy.fulgan.com/SSL/ openssl-1.0.2l-i386-win32.zip for 32 bit Lazarus and openssl-1.0.2l-x64_86-win64.zip for 64 bit Lazarus. ---------------------------------------------------------------------- stoffman · 2017-09-22 18:32 Hey, I'm using the 64bit version. While I believe your suggestion is the right one I cannot really test it as the demo uses libssh2.dll. Which  unfortunately doesn't have a pre-compiled binary for win64 on their website. maybe you have one just lying around ?  Thanks ---------------------------------------------------------------------- rvk · 2017-09-22 19:09 You can use the one that's supplied with PHP. If you search for php_ssh2-0.12-5.5-ts-vc11-x64 You end up here: http://windows.php.net/downloads/pecl/releases/ssh2/0.12/ The php_ssh2-0.12-5.5-ts-vc11-x64.zip has a 64 bit version of libssh2.dll ---------------------------------------------------------------------- stoffman · 2017-09-24 06:27 Works like magic! many thanks!! It seems like PHP has moved away from libssh2. Do you know why? ---------------------------------------------------------------------- rvk · 2017-09-24 10:58 Quote from: stoffman on September 24, 2017, 08:27:37 amIt seems like PHP has moved away from libssh2. Do you know why? What makes you think that? (source?) Even in PHP 7.1.9 it is included.