Re: [fpc-pascal] Serial Unit for Windows

2008-07-19 Thread Zaher Dirkey
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

[fpc-pascal] Re: chown on Mac OS X

2008-07-19 Thread Tobias Giesen
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

Re: [fpc-pascal] Re: chown on Mac OS X

2008-07-19 Thread Florian Klaempfl
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

Re: [fpc-pascal] Re: chown on Mac OS X

2008-07-19 Thread Florian Klaempfl
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,

Re: [fpc-pascal] Does Free Pascal generates Java bytecode

2008-07-19 Thread Wanderlan Santos dos Anjos
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

Re: [fpc-pascal] Serial Unit for Windows

2008-07-19 Thread Stephano
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

Re: [fpc-pascal] Serial Unit for Windows

2008-07-19 Thread Stephano
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