Dear All,
I tried integrating libssh to my "Qt-C++" application MINGW compiler I get heap 
errors in API like ssh_userauth_none ,
ssh_pki_import_pubkey_file and ultimately crashes in Debug Mode.

It works perfectly in release mode and in debug mode as a "C"  application.

The errors persist on using the wrapper libsshpp.

I have used a statically linked library and included the headers using externs 
"C"

extern "C"{
#include<libssh/libssh.h>
#include<libssh/sftp.h>
}

Kindly let me know what is the correct way of integrating into C++.

Best regards

Sruthi Mohan
RBEI/EIA1

Tel. +91(80)6783-7826


Reply via email to