Re: [lazarus] Robot2 for MacOSX

2008-01-24 Thread Damien Gerard
On Jan 24, 2008, at 12:47 AM, Albert Zeyer wrote: Hi, Just packed it together. Here it is (but only for IntelMac): http://www.az2000.de/downloads/Robot1.7.Mac.zip You have just to click on the robot-Application (robot.app) inside. In a OS X app, all ressources should be inside the

Re: [lazarus] Exception for codehelp

2008-01-24 Thread Damien Gerard
On Jan 21, 2008, at 10:09 AM, Vincent Snijders wrote: Mattias Gaertner schreef: On Mon, 21 Jan 2008 09:27:27 +0100 Damien Gerard [EMAIL PROTECTED] wrote: On Jan 21, 2008, at 9:22 AM, Vincent Snijders wrote: Damien Gerard schreef: I have got this when using Lazarus :

[lazarus] Exception when exiting Lazarus

2008-01-24 Thread Damien Gerard
When I work on my big project, I have the followinf exception when I quit Lazarus (Ubuntu/GTK2) : TApplication.HandleException Stack trace: $B707CB2D $084D9063 TSOURCENOTEBOOK__DESTROY, line 3036 of uniteditor.pp $08067082 $0809028F TMAINIDE__DESTROY, line 1211 of main.pp

Re: [lazarus] sqldb query parameter properties not loaded?

2008-01-24 Thread John
Joost van der Sluis wrote: Op donderdag 24-01-2008 om 00:09 uur [tijdzone +1100], schreef John: Snip It does, in so far as the parameter specs are now retained, but now the database property of sqlquery is not read, so it still can't work properly. In fact, I can't even set the database

Re: [lazarus] Robot2 for MacOSX

2008-01-24 Thread Albert Zeyer
Am 24.01.2008 um 10:31 schrieb Damien Gerard: On Jan 24, 2008, at 12:47 AM, Albert Zeyer wrote: Hi, Just packed it together. Here it is (but only for IntelMac): http://www.az2000.de/downloads/Robot1.7.Mac.zip You have just to click on the robot-Application (robot.app) inside. In a OS X

Re: [lazarus] Robot2 for MacOSX

2008-01-24 Thread Damien Gerard
On Jan 24, 2008, at 1:38 PM, Albert Zeyer wrote: Am 24.01.2008 um 10:31 schrieb Damien Gerard: On Jan 24, 2008, at 12:47 AM, Albert Zeyer wrote: Hi, Just packed it together. Here it is (but only for IntelMac): http://www.az2000.de/downloads/Robot1.7.Mac.zip You have just to click on

[lazarus] gethostbyname() for Linux/unix

2008-01-24 Thread Mark Morgan Lloyd
What's best practice for an equivalent to Winsock's gethostbyname() or a comparable resolver interface? I see it's been raised before, with suggestions to use netdb or THost from inet. -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his

[lazarus] How to load aRGBA data from a bitmap file using TLazIntfImage

2008-01-24 Thread Luiz Americo Pereira Camara
I need to load the data of bitmap files into a buffer in the RGBA format, but i'm somewhat lost. Reading the wiki and the source i got to the following code: procedure DumpMem(Data: PCardinal; Size: Integer); var i: Integer; Color: TRGBA; begin for i := 0 to Size - 1 do begin Color :=

Re: [lazarus] How to load aRGBA data from a bitmap file using TLazIntfImage

2008-01-24 Thread Marco Alvarado
You could try using TLazIntfImage.GetDataLineStart() instead. I think you can modify your code this way: ... for y := 0 to IntfImg.DataDescription.Height-1 do DumpMem(PCardinal(IntfImg.GetDataLineStart(y)), IntfImg.DataDescription.Width); ... Regards! -Marco 2008/1/24, Luiz Americo Pereira

Re: [lazarus] How to load aRGBA data from a bitmap file using TLazIntfImage

2008-01-24 Thread wile64
Your image is in 24 bits, test load and then changing it to 32 bits -- Laurent. My Components: http://wiki.lazarus.freepascal.org/Wile64 French Forum : http://lazforum-fr.tuxfamily.org/index.php

Re: [lazarus] How to load aRGBA data from a bitmap file using TLazIntfImage

2008-01-24 Thread Luiz Americo Pereira Camara
Marco Alvarado wrote: You could try using TLazIntfImage.GetDataLineStart() instead. I think you can modify your code this way: ... for y := 0 to IntfImg.DataDescription.Height-1 do DumpMem(PCardinal(IntfImg.GetDataLineStart(y)), IntfImg.DataDescription.Width); ... Thanks, but i still get

Re: [lazarus] How to load aRGBA data from a bitmap file using TLazIntfImage

2008-01-24 Thread Luiz Americo Pereira Camara
wile64 wrote: Your image is in 24 bits, test load and then changing it to 32 bits It seems the best description for what i want is Init_BPP32_B8G8R8_BIO_TTB that gives me a 24bit depth with a 32bits per pixel, but still getting random values. Also tested Init_BPP24_B8G8R8_BIO_TTB. No luck.

Re: [lazarus] How to load aRGBA data from a bitmap file using TLazIntfImage

2008-01-24 Thread Luiz Americo Pereira Camara
Luiz Americo Pereira Camara wrote: Should i pass the width, height when init datadescription? This does not help. I hardcoded width and height to 2 and got the same result. Luiz _ To unsubscribe: mail [EMAIL PROTECTED]

[lazarus] Released Sdpo-0.1.2

2008-01-24 Thread Paulo Malheiros
Hello, New version of Sdpo Components Library available here http://sourceforge.net/project/showfiles.php?group_id=214994package_id=259252 Changes: * Removed libc.pp dependency in SdpoVideo1394 * Gtk and Gtk2 compatibility in SdpoFastForm Send your comments and suggestions. Paulo Costa,

Re: [lazarus] How to load aRGBA data from a bitmap file using TLazIntfImage

2008-01-24 Thread Paulo Malheiros
Quoting Luiz Americo Pereira Camara [EMAIL PROTECTED]: I need to load the data of bitmap files into a buffer in the RGBA format, but i'm somewhat lost. I made a program to process BMP files. The images were fixed 640x480. This is an example of how I loaded the images. const MaxImgH =

[lazarus] TSpinEdit problem (maybe a bug?)

2008-01-24 Thread John Stoneham
I have only tested this on Windows XP with 0.9.24 (fpc 2.2.0), so I don't know if it affects the other widget sets (gtk1/2, qt, etc) or not, or if it's even really a bug and not just standard (but bizarre) behavior. Here's the scenario. When manually editing a tspinedit control (i.e., by clicking

Re: [lazarus] Making the IDE work with C/C++

2008-01-24 Thread mramirez
Quoting Maxim Ganetsky [EMAIL PROTECTED]: There is CodeBlocks too (see http://www.codeblocks.org ). Code Blocks its an excellent tool, for those of us who sometimes need to work with C/C++ instead of our beloved object pascal ;-) Its a C/C++ cross-platform IDE, but works with source files,

[lazarus] Making the IDE work with C/C++

2008-01-24 Thread mramirez
Hi. One of the things I think It may be considered to do a Lazarus C++ IDE, instead of a Lazarus Free Pascal IDE, is that C/C++ uses header files. So you'll have to work with both the header and the source file, instead of a single file. Another, will be the data types. By example, I

[lazarus] C++ libraries

2008-01-24 Thread mramirez
Hi. I was wondering if C++ classes binary *.obj files could be accessed from a Free Pascal application. I did my homework and check at the Free Pascal site, BEFORE bothering this list with a boring same question, but didn't found anything. Any updates ? Thanks. mramirez

Re: [lazarus] C++ libraries

2008-01-24 Thread Albert Zeyer
Am 25.01.2008 um 02:37 schrieb mramirez: Hi. I was wondering if C++ classes binary *.obj files could be accessed from a Free Pascal application. As far as I know this is not possible (yet). The main problem is that the C++ ABI is very complicated and also changes with each GCC version.

[lazarus] laz 9.24.1 no longer compile using fpc 2.2.1

2008-01-24 Thread Bee
Hi all, Today, I found that laz 9.24.1 is no longer compiled using fpc 2.2.1, again. Here's the error message: gtkproc.pp(665,11) Error: Forward declaration not solved MergeClipping(TDeviceContext, PGdkGC, LongInt, LongInt, LongInt, LongInt, PGdkBitmap, LongInt, LongInt,var PGdkBitmap)

Re: [lazarus] C++ libraries

2008-01-24 Thread Felipe Monteiro de Carvalho
You have to build a C wrapper around C++. Look at the Qt 4 Pascal bindings. -- Felipe Monteiro de Carvalho _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at