Recent

Author Topic: Tlazserial on open  (Read 654 times)

eldonfsr

  • Hero Member
  • *****
  • Posts: 552
Tlazserial on open
« on: September 21, 2024, 05:20:36 am »
Hi well playing tlazserial on test come with package when open serial port if don't can open show windows message like exception but on my show  a complete deferent is goin to crash app, on attach image you can see on first is on test example app and second is my test..
Code: Pascal  [Select][+][-]
  1.  
  2. if( LSp2.Active = false) then begin
  3.      LoadParameters('');
  4.      if( LSp2.Device <> '') then LSp2.Open;
  5.   end;
  6.  
  7.  

TRon

  • Hero Member
  • *****
  • Posts: 4377
Re: Tlazserial on open
« Reply #1 on: September 21, 2024, 07:27:41 am »
Not sure what it is that you have issues with.

The first picture seems to run outside the debugger while the second runs inside the debugger. The debugger will catch the exception for you (depending on your settings) and so there is a difference in behaviour.
Today is tomorrow's yesterday.

eldonfsr

  • Hero Member
  • *****
  • Posts: 552
Re: Tlazserial on open
« Reply #2 on: September 21, 2024, 05:42:01 pm »
Ok thanks let me disable  debug mode  if i need debug i have to enable add debug option for app

thanks...

Jurassic Pork

  • Hero Member
  • *****
  • Posts: 1272
Re: Tlazserial on open
« Reply #3 on: September 21, 2024, 05:44:53 pm »
Hello,
what is your O.S ? COM1 is  a default port but it may not to be available. Click on the port settings button to see what are the serial ports availables on your system (click on the Port combobox) . Have you one or more serial ports on your system ?
Friendly, J.P
« Last Edit: September 21, 2024, 06:02:42 pm by Jurassic Pork »
Jurassic computer : Sinclair ZX81 - Zilog Z80A à 3,25 MHz - RAM 1 Ko - ROM 8 Ko

 

TinyPortal © 2005-2018