* * *

Author Topic: TComPort  (Read 26282 times)

Stan17

  • Newbie
  • Posts: 3
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: 651
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 »

 

Recent

Get Lazarus at SourceForge.net. Fast, secure and Free Open Source software downloads Open Hub project report for Lazarus