Subject: Re: keyboard-interactive method gives access violation in MSVC 2008

Re: keyboard-interactive method gives access violation in MSVC 2008

From: Ezequiel Ruiz <eruiz_at_barcelona04.com>
Date: Mon, 06 Sep 2010 13:28:07 -0300

  I'm sorry, you're right. I'm attaching the code of my class. It has an
interface to hide dependencies for final applications. It is a windows DLL.
Basically, the callback function is the same as the one shown in the
examples. I'm forcing the password just for testing purposes. As I've
said, the callback function is declared in the CSSHSession.cpp, but
outside the class.

The code crashes exactly at line 171, when calling
libssh2_userauth_keyboard_interactive(m_Session, "root", &kbd_callback)

Regards,

Ezequiel

El 06/09/2010 01:13 p.m., Alexander Lamaison escribió:
> On 6 September 2010 16:49, Ezequiel Ruiz<eruiz_at_barcelona04.com> wrote:
>
> ...snip
>
>> I'm not sure what can be wrong, the libssh2 version is 1.2.7. And the
>> compile is VS2008 (windows 7).
> Without looking at your example source code, we can't really help.
>
> Alex
>
> --
> Swish - Easy SFTP for Windows Explorer (http://www.swish-sftp.org)
> _______________________________________________
> libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel

_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel

Received on 2010-09-06