Login  
Search All Forums
Dart Home | PowerTCP Emulation for ActiveX | Custom Development Reply | PowerTCP Emulation / Telnet for ActiveX Topics | Forums   
AuthorForum: PowerTCP Emulation / Telnet for ActiveX
Topic: Telnet causing crash at close (Delphi)
tobias72

From: Ibbenbueren, Germany
Posts: 5
Member Since: 03/28/05
posted December 14, 2005 9:26 AM

Hi Tony et al,

we're using the current (registered) version of the Telnet control - which hasn't been updated for quite a while - and my application (as well as the delivered sample project) cause exceptions when closing the application (Development environment is Delphi 5 Ent SP1 on Win XP Pro SP2).

The same problem now also occurs on customer machine's in the US and potential customers are declining to purchase a product with such behavior (understandably).

Is there a feasible way to provide a trace file for you to see what is happening?

Since our premium support expired we'd be willing to acquire your help with incident based support.

If there is no timely fix possible, we need to re-evaluate other products for Telnet emulation, which would cause us lots of effort and trouble.

Please advise on how to proceed.

Thanks a lot in advance,
Tobias T.
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted December 14, 2005 9:33 AM

Can you duplicate the behavior with one of our sample apps? If so, please provide instructions.

If not, can you duplicate the behavior with a simple sample that you can zip up and email to us? If so the address is support@dart.com

If not, then please contact support@dart about opening the incident.
tobias72

From: Ibbenbueren, Germany
Posts: 5
Member Since: 03/28/05
posted December 14, 2005 9:42 AM

Hello Tony,

just compile/run the sample project which was delivered with the Emulation installation.

There are 2 different behaviors:
* exceptions at close of the program (after "FormClose" event of Delphi)
OR
* the application is a "hanging" process, still visible in the task manager process list.

* Would it be of help if I eMailed you the TLB-files, that Delphi generated to confirm that these are correct?
* Is there any "sleep" method advised as indicated in some forum posts?

Thanks,
Tobias
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted December 14, 2005 10:17 AM

My apologies, but I am unable to duplicate this behavior. Please contact support about opening an incident.
tobias72

From: Ibbenbueren, Germany
Posts: 5
Member Since: 03/28/05
posted December 14, 2005 10:20 AM

Thanks Tony. I sent a corresponding eMail to the support eMail.

Once the "ticket" is acquired - would it be beneficial, that I'd provide a remote access for you to take a look onto my environment for tracing? Just a thought.

Cheers,
Tobias
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted December 14, 2005 10:25 AM

Yes, that is always the best option when troubleshooting.
The Master

From: Green Bay, WI USA
Posts: 48
Member Since: 02/07/01
posted January 18, 2006 2:35 PM

Couple things I've found with the Dart components and D5:

You need to declare the following code in your import library for the OCX. I believe this was done in the sample that Dart supplies:

procedure WMGetDlgCode(var msg: TWMGetDlgCode); message WM_GETDLGCODE;

procedure TVt.WMGetDlgCode(var msg: TWMGetDlgCode);
 begin
  inherited;
  msg.Result := msg.Result or
  DLGC_WANTARROWS or
  DLGC_WANTTAB or
  DLGC_WANTALLKEYS or
  DLGC_WANTCHARS;
 end;

There's also a bug in the VCL that can cause applications to crash on exit. It also exists in Delphi 6. You need to patch the controls.pas source code in the VCL library. Here's the thread where I found this information on Google:

http://groups.google.com/group/borland.public.delphi.vcl.components.using/browse_frm/thread/6e6024e885aa2acd/e7800014c403cb6c?lnk=st&q=IsDelphiHandle+bug&rnum=2#e7800014c403cb6c
Reply | PowerTCP Emulation / Telnet for ActiveX Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX