Recent

Author Topic: Mac OS X and synaser  (Read 4658 times)

CML

  • Newbie
  • Posts: 5
Mac OS X and synaser
« on: June 24, 2011, 03:10:05 pm »
Hi,
has anybody opinion with using synaser for operating serial port?
Problem on line 946: FHandle:=THandle(fpOpen(FDevice, O_RDWR or O_SYNC));
No answer, looks like endless loop.
Problem in Mac OS X only. In Linux and W/XP works OK.

Lazarus 0.9.30, Mac Mini, Snow Leopard.

Thanks.
Petr

CML

  • Newbie
  • Posts: 5
Re: Mac OS X and synaser
« Reply #1 on: June 29, 2011, 07:49:24 am »
//  | 007.005.002

{946}   FHandle := THandle(fpOpen(FDevice, O_RDWR or O_SYNC {or O_NOCTTY }or O_NONBLOCK));

It works for me on Kubuntu 10.04, Ubuntu 10.04, W/XP and Snow Leopard.

Petr

 

TinyPortal © 2005-2018