Recent

Author Topic: TComPort  (Read 53786 times)

Stan17

  • Newbie
  • Posts: 6
Re: TComPort
« Reply #45 on: April 06, 2017, 10:58:39 am »
I am using TComPort Win7 64, Lazarus 1.6.4 32
When I call
ComPort1.ShowSetupDialog I am getting an error:
Project...raised exception class 'External:SIGSEGV' in file CPortCtl.pas at line 801:
if ComSelect.ComPort<>Value then

Source code:
Code: Pascal  [Select][+][-]
  1. procedure TComComboBox.SetComPort(const Value: TCustomComPort);
  2. begin
  3.   if FComSelect.ComPort <> Value then
  4.   begin
  5.     FComSelect.ComPort := Value;
  6.     if FComSelect.ComPort <> nil then
  7.     begin    
                       

Error lines in  source:

FComSelect = <TCOMSELECT> = Cannot access memory at address 0x3c4

TCustomComPort = <TCUSTOMCOMPORT> = Attempt to use a type name as an expression

Prior to installing the package I had to comment out few lines with Ctl3D and ParentCtl3D

Can anybody help?
 

Jurassic Pork

  • Hero Member
  • *****
  • Posts: 1228
Re: TComPort
« Reply #46 on: April 08, 2017, 03:59:56 am »
hello,
what is the version of comport that you are using ?
Last version  for Lazarus  (by eldonfsr) is here

Friendly, J.P
« Last Edit: April 08, 2017, 04:06:59 am by Jurassic Pork »
Jurassic computer : Sinclair ZX81 - Zilog Z80A à 3,25 MHz - RAM 1 Ko - ROM 8 Ko

CM630

  • Hero Member
  • *****
  • Posts: 1082
  • Не съм сигурен, че те разбирам.
    • http://sourceforge.net/u/cm630/profile/
Re: TComPort
« Reply #47 on: August 25, 2022, 04:38:47 pm »
In 2022 is there some later version, I am wondering what to install?
« Last Edit: August 26, 2022, 07:17:59 am by CM630 »
Лазар 3,2 32 bit (sometimes 64 bit); FPC3,2,2; rev: Lazarus_3_0 on Win10 64bit.

 

TinyPortal © 2005-2018