[Lazarus] My ADVICE!!!: Are you having problems installing Qdebian (Linux) packages.

2009-01-08 Thread Peter Williams
To ppl who use Linux and are having problems installing Qdebian (Linux) packages. HI There *SMILE* I am extremely happy because my desktop pc (which is very faster!!) is now working extremely well !!! I'm still learning how to use it. ## GREAT BIG HAPPY GRIN ## Also, I still only rate myself as

[Lazarus] Loading an integer into a byte array

2009-01-08 Thread Dave Coventry
I have a file into which I want to put a long integer: 00 00 19 7A The file expects the value in the form: buffer[0]:=122; buffer[1]:=25; buffer[2]:=0; buffer[3]:=0; I am then intending to write this buffer to the file FS.Writebuffer(buffer,4); Is there a way of loading the buffer directly

Re: [Lazarus] Loading an integer into a byte array

2009-01-08 Thread Bernd Mueller
Dave Coventry wrote: I have a file into which I want to put a long integer: 00 00 19 7A The file expects the value in the form: buffer[0]:=122; buffer[1]:=25; buffer[2]:=0; buffer[3]:=0; I am then intending to write this buffer to the file FS.Writebuffer(buffer,4); Is there a

Re: [Lazarus] Loading an integer into a byte array

2009-01-08 Thread Andrew Brunner
System.Move() On Thu, Jan 8, 2009 at 8:05 AM, Dave Coventry dgcoven...@gmail.com wrote: I have a file into which I want to put a long integer: 00 00 19 7A The file expects the value in the form: buffer[0]:=122; buffer[1]:=25; buffer[2]:=0; buffer[3]:=0; I am then intending to write

Re: [Lazarus] Loading an integer into a byte array

2009-01-08 Thread Martin Friebe
Bernd Mueller wrote: Dave Coventry wrote: I have a file into which I want to put a long integer: 00 00 19 7A The file expects the value in the form: buffer[0]:=122; buffer[1]:=25; buffer[2]:=0; buffer[3]:=0; I am then intending to write this buffer to the file

Re: [Lazarus] Loading an integer into a byte array

2009-01-08 Thread Hans-Peter Diettrich
Dave Coventry schrieb: I have a file into which I want to put a long integer: 00 00 19 7A The file expects the value in the form: Which file? buffer[0]:=122; buffer[1]:=25; buffer[2]:=0; buffer[3]:=0; That's the Intel byte order. I am then intending to write this buffer to the file

Re: [Lazarus] Loading an integer into a byte array

2009-01-08 Thread Dave Coventry
Thanks DoDi. 2009/1/8 Hans-Peter Diettrich drdiettri...@aol.com: Dave Coventry schrieb: Which file? It's just a data file that I'm writing to. But it does have to be portable to other applications. That's the Intel byte order. Yes, the specification of the datafile require little endian byte

[Lazarus] Error when compiling for GTK2 (on Linux)

2009-01-08 Thread Bart
Hi, Since today, when I want to compile any (even a new and empty project (just 1 form, no controls on it)) I get the following error: Free Pascal Compiler version 2.2.2 [2008/07/29] for i386 Copyright (c) 1993-2008 by Florian Klaempfl Target OS: Linux for i386 Compiling /tmp/project1.lpr PPU

Re: [Lazarus] Error when compiling for GTK2 (on Linux)

2009-01-08 Thread Mattias Gaertner
On Thu, 8 Jan 2009 18:20:08 +0100 Bart bartjun...@gmail.com wrote: Hi, Since today, when I want to compile any (even a new and empty project (just 1 form, no controls on it)) I get the following error: Free Pascal Compiler version 2.2.2 [2008/07/29] for i386 Copyright (c) 1993-2008 by

[Lazarus] Mercurial mirror is down?

2009-01-08 Thread Alexander Klenin
http://florianklaempfl.de:8000/lazarustrunk returns 404 error to me. -- Alexander S. Klenin ___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Mercurial mirror is down?

2009-01-08 Thread Marc Weustink
Alexander Klenin wrote: http://florianklaempfl.de:8000/lazarustrunk returns 404 error to me. if you put www. in fornt of it it works Marc ___ Lazarus mailing list Lazarus@lazarus.freepascal.org

Re: [Lazarus] Mercurial mirror is down?

2009-01-08 Thread Florian Klaempfl
Alexander Klenin schrieb: http://florianklaempfl.de:8000/lazarustrunk returns 404 error to me. Fixed. ___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Appending to a binary file

2009-01-08 Thread Andrew Brunner
Yes, if you've got a bunch of operations into this method write a wrapper class this way you can keep the stream alive until such time as it's not needed. Using FS.Seek(0 sofromEnd) or whatever you need to position the Stream. On Thu, Jan 8, 2009 at 1:55 PM, Dave Coventry dgcoven...@gmail.com

Re: [Lazarus] My ADVICE!!!: Are you having problems installing Qdebian(Linux) packages.

2009-01-08 Thread Alex Kovacic
- BEING AN OZZIE YOU SHOULD TRY OZOS. http://cafelinux.org/OzOs/ (DEBIAN-Xubuntu) At 10:06 PM 8/01/2009 +1100, you wrote: To ppl who use Linux and are having problems installing Qdebian (Linux) packages. HI There *SMILE* I am extremely happy because my desktop pc (which is very faster!!)

Re: [Lazarus] Loading an integer into a byte array

2009-01-08 Thread Hans-Peter Diettrich
Dave Coventry schrieb: What is loading? Reading from the file? No, the integer value is calculated and must be saved to the file. There is more than one integer in a 48 byte block and I want to write this block to the file, so I'm loading a 48 byte buffer. Some of the values are single bytes

Re: [Lazarus] Error when compiling for GTK2 (on Linux)

2009-01-08 Thread Mattias Gaertner
On Fri, 9 Jan 2009 02:08:51 +0100 Bart bartjun...@gmail.com wrote: Have you tried compiling lazarus clean? Yeah, this all happened after a make clean all. I noticed that it rebuilds the gtk1 ppu's but not the gtk2 ppu's (the gtk2 ppu's have dates from 3 days before) Yes, gtk1 is the