Re: [fpc-pascal] Good revision on wince cross-compiler

2006-12-09 Thread Felipe Monteiro de Carvalho
Ok, I just found out that the OnCreate of that program was creating a TCustomControl descendent. That seams to crash the application on wince. Removing it and having only a simple program with a form and some buttons works ok with latest subversion Lazarus =) -- Felipe Monteiro de Carvalho __

Re: [fpc-pascal] Good revision on wince cross-compiler

2006-12-09 Thread Felipe Monteiro de Carvalho
On 12/8/06, Gabor Boros <[EMAIL PROTECTED]> wrote: 5191 works very well for me. Which Lazarus revision do you use? I tested very old ones, but they refuse to compile, due to changes on the FCL or RTL. The current "stable" snapshot we work with is about 5 months old now. -- Felipe Monteiro de

Re: [fpc-pascal] Good revision on wince cross-compiler

2006-12-09 Thread Felipe Monteiro de Carvalho
Hello, On 12/8/06, TOndrej <[EMAIL PROTECTED]> wrote: A few weeks ago I experimented and found out that fpc 5389 and Lazarus 10204 worked for me on arm-wince. I'm sticking to these revisions for the time being, making my local modifications as needed. I don“t know why but this combination did

Re: [fpc-pascal] Reading text from images

2006-12-09 Thread Darius Blaszijk
This technique is called OCR. No idea if there is a pascal implementation, but it should not be too hard to make one. It's based on neural networks that "learn" to recognize any character from any font. Darius - Original Message - From: "Antal" <[EMAIL PROTECTED]> To: Sent: Saturday

Re: [fpc-pascal] RE: [lazarus] Article on Pixel.

2006-12-09 Thread Tomas Hajny
On 8 Dec 06, at 23:17, George Birbilis wrote: > > > > The latest issue of Linux Journal features an article about Pixel > > > > (By Pavel Kanzelsberger). > > > > It gives it a very good comment. Pity it's not mentioned > > that it's > > > > written using FPC. > > > > (the article is written by a w

[fpc-pascal] Reading text from images

2006-12-09 Thread Antal
Does anybody have an idea about how to read text from an image, using freepascal? There are lots of fonts, and so on, but it would be rather interesting to make able fpc to read from jpegs or gifs, since on the net there is so much information stored in images. _

Re: [fpc-pascal] Implementing a true Singleton - Can we decrease the visibility of a method?

2006-12-09 Thread Steve Williams
>> > I found this by trying to implement a True Singleton in Free Pascal / >> > Delphi. For those that don't know, a Singleton is a Design Pattern >> > that allows only one instance of a class. It seems it is impossible >> > to do in Free Pascal / Delphi. :-( >> >> Try this. >> http://bdn.borlan

Re: [fpc-pascal] UML state machine drawing tool

2006-12-09 Thread Marc Santhoff
Am Freitag, den 08.12.2006, 18:24 -0200 schrieb Wanderlan Santos dos Anjos: > Hello Marc, > > My company is making this now. www.channeltecnologia.com/en/XDA.asp. > The download will be online at february. I'm looking forward to it. Btw. interesting MDA style infrastructure your company is offer

Re: [fpc-pascal] GetEpochTime not found

2006-12-09 Thread Marc Santhoff
Am Samstag, den 09.12.2006, 10:01 +0100 schrieb Michael Van Canneyt: > > I'm stuck, what is missing here or how can I go on debugging the > > problem? > > Nothing is missing. getepochtime is present in the Sysutils unit, but is not > exposed, > as it's not cross platform. You should be using fpt

Re: [fpc-pascal] GetEpochTime not found

2006-12-09 Thread Marco van de Voort
> Marco van de Voort wrote: > >>> fpc 2.0.2. > >>> > >>> CommonTypes.pp(207,21) Error: Identifier not found "GetEpochTime" > >> http://www.freepascal.org/docs-html/rtl/oldlinux/getepochtime.html > > > > He uses FreeBSD. > > Ah right, this was apparent from the unit path. Not that I'd recommend o

Re: [fpc-pascal] GetEpochTime not found

2006-12-09 Thread Micha Nelissen
Marco van de Voort wrote: >>> fpc 2.0.2. >>> >>> CommonTypes.pp(207,21) Error: Identifier not found "GetEpochTime" >> http://www.freepascal.org/docs-html/rtl/oldlinux/getepochtime.html > > He uses FreeBSD. Ah right, this was apparent from the unit path. Micha

Re: [fpc-pascal] GetEpochTime not found

2006-12-09 Thread Michael Van Canneyt
On Sat, 9 Dec 2006, Marc Santhoff wrote: > Hi, > > I've got some funny problem here. The program compiled well with fpc up > to version 1.9.4. I haven't touched it for a while and now it fails with > fpc 2.0.2. > > The source snippet in queston is: > > function TStorable.generateID: integer;

Re: [fpc-pascal] GetEpochTime not found

2006-12-09 Thread Marco van de Voort
> > fpc 2.0.2. > > > > CommonTypes.pp(207,21) Error: Identifier not found "GetEpochTime" > > http://www.freepascal.org/docs-html/rtl/oldlinux/getepochtime.html He uses FreeBSD. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.fr

Re: [fpc-pascal] GetEpochTime not found

2006-12-09 Thread Micha Nelissen
Marc Santhoff wrote: > Hi, > > I've got some funny problem here. The program compiled well with fpc up > to version 1.9.4. I haven't touched it for a while and now it fails with > fpc 2.0.2. > > CommonTypes.pp(207,21) Error: Identifier not found "GetEpochTime" http://www.freepascal.org/docs-html

Re: [fpc-pascal] GetEpochTime not found

2006-12-09 Thread Marco van de Voort
> I've got some funny problem here. The program compiled well with fpc up > to version 1.9.4. I haven't touched it for a while and now it fails with > fpc 2.0.2. Afaik there was only a *nix implementation and that was already covered by the Unix (fp)time function, so it got cleaned up in 2.0 in th

[fpc-pascal] RE: [lazarus] Article on Pixel.

2006-12-09 Thread George Birbilis
> > > The latest issue of Linux Journal features an article about Pixel > > > (By Pavel Kanzelsberger). > > > It gives it a very good comment. Pity it's not mentioned > that it's > > > written using FPC. > > > (the article is written by a writer/publisher, not a programmer). > > > > > > For the Laz

[fpc-pascal] RE: [lazarus] Article on Pixel.

2006-12-09 Thread George Birbilis
> The latest issue of Linux Journal features an article about > Pixel (By Pavel Kanzelsberger). > It gives it a very good comment. Pity it's not mentioned that > it's written using FPC. > (the article is written by a writer/publisher, not a programmer). > > For the Lazarus users: Pixel is written u

Re: [fpc-pascal] UML state machine drawing tool

2006-12-09 Thread Wanderlan Santos dos Anjos
Hello Marc, My company is making this now. www.channeltecnologia.com/en/XDA.asp. The download will be online at february. -- Att, Wanderlan Santos dos Anjos Coordenador PRX - Programa de Redesenvolvimento em XDA Channel Tecnologia (061) 3362-3361; 9963-2412 On 12/8/06, Marc Santhoff <[EMAIL P