Recent

Author Topic: port Comport component of Delphi to lazarus  (Read 5115 times)

Kushal

  • New Member
  • *
  • Posts: 33
port Comport component of Delphi to lazarus
« on: January 29, 2013, 01:25:05 pm »
i would like to use the Tcomport component of delphi in lazarus.
please help......

Leledumbo

  • Hero Member
  • *****
  • Posts: 8310
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: port Comport component of Delphi to lazarus
« Reply #1 on: January 29, 2013, 05:17:13 pm »
An old port (windows only): http://sourceforge.net/projects/cportlaz/
If you need serial communication, I suggest either libusb or synaser instead.

Kushal

  • New Member
  • *
  • Posts: 33
Re: port Comport component of Delphi to lazarus
« Reply #2 on: February 10, 2013, 01:42:53 pm »
synaser is not event driven .

i have a GPS module connected to serial and it just sends data to my app.
here with synaser im not able to do it.

from the GPS i have to get the data in for of packets with a custom start and stop string which  i do it with delphi Tcomport but in lazarus im not able to do it ..
when i went through the forum and most of the programmers are sugesting synapse

plz let me know how to implement onrecieve event with synaser atleast references if any ..
thanq.......

 

TinyPortal © 2005-2018