ICE

Please login or register.

Login with username, password and session length
Advanced search  

News:

ICETCP.PRO and ICETCP.PLUS are compatible with Windows 11!

Author Topic: Dejavu OCX & Visual C++ .Net 7  (Read 1032 times)

jmabbott

  • John
  • Full Member
  • ***
  • Posts: 23
Dejavu OCX & Visual C++ .Net 7
« on: July 06, 2005, 08:06:44 am »

Dejavu OCX - 5.1.25
Visual C++ .Net - 7.1.3088
Application - MFC, Dialog Based, COM mode (not .NET)

I just created a new application using code duplicated from a previous (VC++ 6) application.  The first connection to "HOST++ssh" after starting the application works properly. The session is ended by typing exit. The second connection attempt always returns "new Telnet failed." after a time out. Any further connection attempts don't even ask for a user name and password. Each shutting down and restarting of the application gives one successful connection.  TelnetPro on the same PC does many connections as expected.  Any ideas why the application has to be restarted to do a second connect?
Logged

jimn

  • Global Moderator
  • Ice Artist
  • *****
  • Posts: 116
Re:Dejavu OCX & Visual C++ .Net 7
« Reply #1 on: July 06, 2005, 11:19:45 am »

Ah yes, that is an unfortunate side effect of implementing the SSH Putty code in Telnet Pro. The program always crashed whever attempting a second SSH connection in the same program window, even in succession. We solved the problem by simply opening a new window and closing the old window when another SSH connection is attempted.  Since SSH connection through the OCX was not explicitly implemented (it works merely by happenstance), this issue wasn't anticipated for the OCX.

Jim
Logged
 

Page created in 0.013 seconds with 21 queries.