Re: [twsocket] TnScript: Changes needed to make it work with
Hello Wayne, I'm including the a very simple demo that I compiled and worked with Delphi7. It sees the login, supplies the user, password and ctrl-C to needed for our login. I then took the same source and compiled with Delphi2010. When I click the Connect button, I see the same login: prompt but it does not seem to get detected in the 2010 version of the compilation. There is no error message and login remains idle until I manually supply the login credentials which then works fine. I'm willing to debug this but I thought it would be something obvious to users of TnScript module. Fixed Ansi/Unicode issue in TTnCnx.ProcessInputData. Please update fro SVN repository (or wait tomorrow for next zip file). -- francois.pie...@overbyte.be The author of the freeware multi-tier middleware MidWare The author of the freeware Internet Component Suite (ICS) http://www.overbyte.be -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
[twsocket] TnScript: Changes needed to make it work with (rad 2010)
Francois, Thanks very much for your support! PS: I owe you a picture post-card now that I will start using the modules. [twsocket] TnScript: Changes needed to make it work with Francois PIETTE francois.piette at skynet.be Mon Feb 1 18:24:33 UTC 2010 Previous message: [twsocket] TnScript: Changes needed to make it work with Next message: [twsocket] Having a problem with Rad Studio 2010. Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] Hello Wayne, I'm including the a very simple demo that I compiled and worked with Delphi7. It sees the login, supplies the user, password and ctrl-C to needed for our login. I then took the same source and compiled with Delphi2010. When I click the Connect button, I see the same login: prompt but it does not seem to get detected in the 2010 version of the compilation. There is no error message and login remains idle until I manually supply the login credentials which then works fine. I'm willing to debug this but I thought it would be something obvious to users of TnScript module. Fixed Ansi/Unicode issue in TTnCnx.ProcessInputData. Please update fro SVN repository (or wait tomorrow for next zip file). -- francois.piette at overbyte.be The author of the freeware multi-tier middleware MidWare The author of the freeware Internet Component Suite (ICS) http://www.overbyte.be -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
Re: [twsocket] TnScript: Changes needed to make it work with
I'm including the a very simple demo that I compiled and worked with Delphi7. It sees the login, supplies the user, password and ctrl-C to needed for our login. I then took the same source and compiled with Delphi2010. When I click the Connect button, I see the same login: prompt but it does not seem to get detected in the 2010 version of the compilation. There is no error message and login remains idle until I manually supply the login credentials which then works fine. I'm willing to debug this but I thought it would be something obvious to users of TnScript module. unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, OverbyteIcsEmulVT, OverbyteIcsTnEmulVT, OverbyteIcsTnScript; type TForm1 = class(TForm) ConnectButton: TButton; DisconnectButton: TButton; TnScript2: TTnScript; ExitButton: TButton; procedure ConnectButtonClick(Sender: TObject); procedure DisconnectButtonClick(Sender: TObject); procedure ExitButtonClick(Sender: TObject); private { Private declarations } public { Public declarations } end; var Form1: TForm1; implementation {$R *.dfm} procedure TForm1.ConnectButtonClick(Sender: TObject); begin TnScript2.HostName := '10.32.220.5'; TnScript2.AddEvent(1, 'login', 'admin' + #13#10, [efIgnoreCase], nil); TnScript2.AddEvent(2, 'password', 'password' + #13#10, [efIgnoreCase], nil); TnScript2.AddEvent(3, 'Control-C', #13#3, [efIgnoreCase], nil); TnScript2.Connect; end; procedure TForm1.DisconnectButtonClick(Sender: TObject); begin TnScript2.Disconnect; end; procedure TForm1.ExitButtonClick(Sender: TObject); begin close; end; end. List: twsocket Subject: Re: [twsocket] TnScript: Changes needed to make it work with From: Francois PIETTE francois.piette () skynet ! be Date: 2010-01-30 8:59:02 Message-ID: 07FA131664A64DA09C3C75FCDFF65A22 () ovb ! local [Download message RAW] I have some utilities based on TnScript that work fine with Delphi-7 and the latest ICS. The same program when compiled with Delphi2010 does not recognize the add event strings in the telnet session. I'm assuming this is another case where judicious application of ansiString is needed to accommodate the unicode changes in Delphi2010? Please be more specific in describong: does not recognize the add event strings in the telnet session. Which error, which source code ? -- francois.pie...@overbyte.be The author of the freeware multi-tier middleware MidWare The author of the freeware Internet Component Suite (ICS) http://www.overbyte.be -- -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
Re: [twsocket] TnScript: Changes needed to make it work with Delphi2010?
I have some utilities based on TnScript that work fine with Delphi-7 and the latest ICS. The same program when compiled with Delphi2010 does not recognize the add event strings in the telnet session. I'm assuming this is another case where judicious application of ansiString is needed to accommodate the unicode changes in Delphi2010? Please be more specific in describong: does not recognize the add event strings in the telnet session. Which error, which source code ? -- francois.pie...@overbyte.be The author of the freeware multi-tier middleware MidWare The author of the freeware Internet Component Suite (ICS) http://www.overbyte.be -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
[twsocket] TnScript: Changes needed to make it work with Delphi2010?
Hello, I have some utilities based on TnScript that work fine with Delphi-7 and the latest ICS. The same program when compiled with Delphi2010 does not recognize the add event strings in the telnet session. I'm assuming this is another case where judicious application of ansiString is needed to accommodate the unicode changes in Delphi2010? Can someone point me to the key modules and variables that should be updated, assuming this is the problem? Thanks very much! Wayne Belshaw -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be