Re: [fpc-devel] TSdfDataset does not work with records larger then 255 chars

2008-09-08 Thread Martin Schreiber
On Monday 08 September 2008 04.53:25 Felipe Monteiro de Carvalho wrote: Hello, Using TSdfDataset my records are cut to fit 255 chars, even when I change the new MaxRecordLength property to 2048. This is a very elusive bug, and I am searching all over for the cause without success =( I

Re: [fpc-devel] an observation about GetMem

2008-09-08 Thread petr . kristan
On Sat, Sep 06, 2008 at 11:25:19AM +0100, Jonas Maebe wrote: On 05 Sep 2008, at 17:25, Peter Popov wrote: In FPC it is done by design. If 0 bytes are asked we allocate at least the minimum alignment to get a valid pointer. This is done for compatibility with TP7.0 that returns the

Re: [fpc-devel] an observation about GetMem

2008-09-08 Thread Peter Vreman
On Sat, Sep 06, 2008 at 11:25:19AM +0100, Jonas Maebe wrote: On 05 Sep 2008, at 17:25, Peter Popov wrote: In FPC it is done by design. If 0 bytes are asked we allocate at least the minimum alignment to get a valid pointer. This is done for compatibility with TP7.0 that returns the value of

Re: [fpc-devel] TSdfDataset does not work with records larger then 255 chars

2008-09-08 Thread Felipe Monteiro de Carvalho
On 9/8/08, Martin Schreiber [EMAIL PROTECTED] wrote: Possibly because FieldDefs[n].Size is too small. Did you setup TSdfDataset.Schema according to your needs? The format is fieldname=fieldsize AFAIK, MAXSTRLEN is a default value only. The new MaxRecordLength property is actually

Re: [fpc-devel] TSdfDataset does not work with records larger then 255 chars

2008-09-08 Thread Marco van de Voort
In our previous episode, Felipe Monteiro de Carvalho said: On 9/8/08, Martin Schreiber [EMAIL PROTECTED] wrote: Possibly because FieldDefs[n].Size is too small. Did you setup TSdfDataset.Schema according to your needs? The format is fieldname=fieldsize AFAIK, MAXSTRLEN is a default value

Re: [fpc-devel] TSdfDataset does not work with records larger then 255 chars

2008-09-08 Thread Inoussa OUEDRAOGO
Another wierd thing is that it absolutely does not work (nothing is read from database) if I don't set MaxRecordLength. The property has a default value of 250, which somehow does not work, so I removed the default in the property and initialized the value in the constructor, which works.

Re: [fpc-devel] TSdfDataset does not work with records larger then 255 chars

2008-09-08 Thread Felipe Monteiro de Carvalho
On 9/8/08, Marco van de Voort [EMAIL PROTECTED] wrote: That shoulds like a shortstring limit. Is everything in {$H+} or {$mode delphi} ? This was my first idea, but I couldn't find anywhere a H+ missing ... Also, as to my previous statement that it now started without without reason, it seams

Re: [fpc-devel] TSdfDataset does not work with records larger then 255 chars

2008-09-08 Thread Felipe Monteiro de Carvalho
If anyone wishes to take a look at the full project: svn co https://turbocircuit.svn.sourceforge.net/svnroot/turbocircuit turbocircuit TurboCircuit is a circuit drawing program developed with lazarus. It should work in any lazarus supported OS. Be careful that there is a local copy of sdfdata

Re: [fpc-devel] TSdfDataset does not work with records larger then 255 chars

2008-09-08 Thread Martin Schreiber
On Monday 08 September 2008 14.42:04 Felipe Monteiro de Carvalho wrote: On 9/8/08, Marco van de Voort [EMAIL PROTECTED] wrote: That shoulds like a shortstring limit. Is everything in {$H+} or {$mode delphi} ? This was my first idea, but I couldn't find anywhere a H+ missing ... Also, as

Re: [fpc-devel] TSdfDataset does not work with records larger then 255 chars

2008-09-08 Thread Felipe Monteiro de Carvalho
On Mon, Sep 8, 2008 at 10:51 AM, Martin Schreiber [EMAIL PROTECTED] wrote: Did you open an existing datafile? I am always working opening an existing datafile. So, you are thinking that it calculates the size for the fields upon loading and then it does not increase the field sizes when posting

Re: [fpc-devel] TSdfDataset does not work with records larger then 255 chars

2008-09-08 Thread Martin Schreiber
On Monday 08 September 2008 19.34:32 Felipe Monteiro de Carvalho wrote: On Mon, Sep 8, 2008 at 10:51 AM, Martin Schreiber [EMAIL PROTECTED] wrote: Did you open an existing datafile? I am always working opening an existing datafile. So, you are thinking that it calculates the size for the

Re: [fpc-devel] TSdfDataset does not work with records larger then 255 chars

2008-09-08 Thread Felipe Monteiro de Carvalho
On Mon, Sep 8, 2008 at 3:14 PM, Martin Schreiber [EMAIL PROTECTED] wrote: It seems so if you don't define the field size in the TSdfDataset.Schema. Unlike tmsebufdataset, TSdfDataset stores the data in a record with fixed size which can't be changed after open. Is it possible to define the

Re: [fpc-devel] TSdfDataset does not work with records larger then 255 chars

2008-09-08 Thread Michael Van Canneyt
On Mon, 8 Sep 2008, Felipe Monteiro de Carvalho wrote: On Mon, Sep 8, 2008 at 10:51 AM, Martin Schreiber [EMAIL PROTECTED] wrote: Did you open an existing datafile? I am always working opening an existing datafile. So, you are thinking that it calculates the size for the fields upon

Re: [fpc-devel] TSdfDataset does not work with records larger then 255 chars

2008-09-08 Thread Felipe Monteiro de Carvalho
On Mon, Sep 8, 2008 at 3:43 PM, Michael Van Canneyt [EMAIL PROTECTED] wrote: 1. When opening an existing file, the longest existing line length is used as the max record size if firstlineasschema is True. The lengths are not changed after that. That looks wrong. So it's basically

Re: [fpc-devel] TSdfDataset does not work with records larger then 255 chars

2008-09-08 Thread Martin Schreiber
On Monday 08 September 2008 20.19:27 Felipe Monteiro de Carvalho wrote: On Mon, Sep 8, 2008 at 3:14 PM, Martin Schreiber [EMAIL PROTECTED] wrote: It seems so if you don't define the field size in the TSdfDataset.Schema. Unlike tmsebufdataset, TSdfDataset stores the data in a record with fixed

[fpc-devel] TObjectList crash!

2008-09-08 Thread Paul Ishenin
Hello, FPC developers' list. We are preparing a next lazarus version and our users are heavily testing thing. One bug report let me found one error which is not a lazarus error, but fpc. This error happen because we used TObjectList to store bitmaps in a list. TObjectList is a useful thing

sexsy in red carpet

2008-09-08 Thread bipasha basu
http://sexsy-wild.blogspot.com/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Naked Woman Image group and You Can visit http://www.bpsv.com/nakedwomanimage/ To post to this group, send email to

[alabama.jobs.com] RECRUITERS: START THE WEEK OFF WITH A BANG!

2008-09-08 Thread Search4Candidates . com
RECRUITERS: START THE WEEK OFF WITH A BANG! Search4Candidates Free! Since launching Search4Candidates.com http://www.search4candidates.com/thousands of recruiters around the world have successfully used our new tool to find free resumes, contacts on LinkedIn, blogs, Jobster, AOL and more.