Re: [fpc-pascal] memory mapped file

2009-11-01 Thread Alexey Voytsehovich
Hello Micha, Saturday, October 31, 2009, 2:39:19 PM, you wrote: > Alexey Voytsehovich wrote: >> All the good days. >> You can not tell what I need to read and/or study for solving >> cross-platform (linux/windows) implementation of the memory mapped file? > On unix, it would be fpmmap. > On

Re: [fpc-pascal] Access to RS232 ports with fpc

2009-11-01 Thread Holger Bruns
Martin schrieb: Holger Bruns wrote: Jürgen Hestermann schrieb: function SerRead(Handle: TSerialHandle; var Buffer; Count: LongInt): LongInt; begin Result := fpRead(Handle, Buffer, Count); end; i don't understand the declaration for "buffer" in the function below, because no type is d

Re: [fpc-pascal] Access to RS232 ports with fpc

2009-11-01 Thread Felipe Monteiro de Carvalho
It may be useful to know that there is a serial communication example using Synaser here: http://wiki.lazarus.freepascal.org/Hardware_Access#Serial_Communication It's much easier to use then using the lower level routines yourself. -- Felipe Monteiro de Carvalho

Re: [fpc-pascal] Access to RS232 ports with fpc

2009-11-01 Thread Martin
Holger Bruns wrote: Jürgen Hestermann schrieb: function SerRead(Handle: TSerialHandle; var Buffer; Count: LongInt): LongInt; begin Result := fpRead(Handle, Buffer, Count); end; i don't understand the declaration for "buffer" in the function below, because no type is declared for "buff

Re: [fpc-pascal] Access to RS232 ports with fpc

2009-11-01 Thread Holger Bruns
Jürgen Hestermann schrieb: function SerRead(Handle: TSerialHandle; var Buffer; Count: LongInt): LongInt; begin Result := fpRead(Handle, Buffer, Count); end; i don't understand the declaration for "buffer" in the function below, because no type is declared for "buffer". I believe tha

Re: [fpc-pascal] dwarf and stabs info in ppu?

2009-11-01 Thread Jonas Maebe
On 01 Nov 2009, at 17:29, Martin wrote: If I compile a package, the lcl, the rtl, whatever, I can do so with -g getting stabs, then any app I compile with -gw will not see the debug info for those package -gw geting dwarf, and any app compiled with -g will not see it That is normal. So I

[fpc-pascal] dwarf and stabs info in ppu?

2009-11-01 Thread Martin
I wonder if there is a way, to include dwarf and stabs in the ppu. Or maybe I got something else wrong. If I compile a package, the lcl, the rtl, whatever, I can do so with -g getting stabs, then any app I compile with -gw will not see the debug info for those package -gw geting dwarf, and any

Re: [fpc-pascal] Access to RS232 ports with fpc

2009-11-01 Thread Jürgen Hestermann
function SerRead(Handle: TSerialHandle; var Buffer; Count: LongInt): LongInt; begin Result := fpRead(Handle, Buffer, Count); end; i don't understand the declaration for "buffer" in the function below, because no type is declared for "buffer". I believe that the type is irrelevant, yo

[fpc-pascal] Access to RS232 ports with fpc

2009-11-01 Thread Holger Bruns
Hello, I am new to this list. For programming the serial ports on a linux system, I tried to use the "serial" unit. i don't understand the declaration for "buffer" in the function below, because no type is declared for "buffer". How can I read a character from the selected serial port? This i

[fpc-pascal] ExtractAssociatedIcon or similar

2009-11-01 Thread Juha Manninen
Hello, is there a portable way of getting application's icon like ExtractAssociatedIcon does in Windows? Juha Manninen ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal