bm_DCB_fRtsControl = $3000. It should be $2000.
bm_DCB_fDtrControl = $30. It should be $20.
DtrControl and RtsControl have double bits so it should be as mask
in same struct.inc you can see
function fDtrControl(var a : DCB) : DWORD;
begin
fDtrControl:=(a.flags and
Hi,
OK I added this as a bug:
http://mantis.freepascal.org/view.php?id=11705
This is caused by FpChown missing from oscdeclh.inc in the rtl/unix
folder. I tried adding it but it causes an exception. But chown is
present in the libc. Why can't it be called?
I can't believe that nobody uses
Tobias Giesen schrieb:
Hi,
correction! Adding FpChown to oscdeclh.inc works fine. This line needs
to be added:
Function FpChown (path : pChar; owner : TUid; group : TGid): cInt; cdecl;
external clib name 'chown';
to oscdeclh.inc in the rtl/unix folder.
Cheers,
Tobias
Better add such
Florian Klaempfl schrieb:
Tobias Giesen schrieb:
Hi,
correction! Adding FpChown to oscdeclh.inc works fine. This line needs
to be added:
Function FpChown (path : pChar; owner : TUid; group : TGid): cInt;
cdecl; external clib name 'chown';
to oscdeclh.inc in the rtl/unix folder.
Cheers,
Hello Gilles,
See if http://extpascal.googlecode.com meets their expectations
--
Att,
Wanderlan Santos dos Anjos
(061) 3345-5496; 9133-3804
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
Michael Van Canneyt wrote:
I looked at the unit the first time you posted it, but there is little
I can do: I don't do serial programming.
I think it is best if you contact someone who does serial programming
directly, and ask them to test this unit.
Michael.
I will acquire some serial
Zaher Dirkey wrote:
bm_DCB_fRtsControl = $3000. It should be $2000.
bm_DCB_fDtrControl = $30. It should be $20.
DtrControl and RtsControl have double bits so it should be as mask
in same struct.inc you can see
function fDtrControl(var a : DCB) : DWORD;
begin