Re: [lazarus] About including ressource manager in lazarus

2006-08-09 Thread Michael Van Canneyt
On Wed, 9 Aug 2006, Vincent Snijders wrote: Michael Van Canneyt schreef: In fact, Free Pascal suppprts including Windows resources in the binary on all ELF platforms (e.g. linux). The fpcres program does exactly that. {$R somefile.res} will include the resource file

Re: [lazarus] About including ressource manager in lazarus

2006-08-09 Thread Michael Van Canneyt
On Wed, 9 Aug 2006, A.J. Venter wrote: will include the resource file in the binary. This feature is enabled even in the fixes branch. In fact, Lazarus could switch now to using this for including form files. This would drastically reduce the memory requirements of all Lazarus

Re: [lazarus] About including ressource manager in lazarus

2006-08-09 Thread Michael Van Canneyt
On Wed, 9 Aug 2006, Mattias Gaertner wrote: On Wed, 9 Aug 2006 11:02:39 +0200 A.J. Venter [EMAIL PROTECTED] wrote: will include the resource file in the binary. This feature is enabled even in the fixes branch. In fact, Lazarus could switch now to using this for including form

Re: [lazarus] About including ressource manager in lazarus

2006-08-09 Thread Michael Van Canneyt
On Wed, 9 Aug 2006, Marc Weustink wrote: Vincent Snijders wrote: Michael Van Canneyt schreef: On Wed, 9 Aug 2006, Mattias Gaertner wrote: On Tue, 8 Aug 2006 17:07:42 -0400 Alexandre Leclerc [EMAIL PROTECTED] wrote: As posted on another thread: http

Re: [lazarus] Problem casting a method...

2006-08-07 Thread Michael Van Canneyt
On Mon, 7 Aug 2006, Alexandre Leclerc wrote: Using pascal script component: type TMyProc = procedure(param: TObject); var MyProc: TMyProc; .. MyProc := TMyProc(PSExec.GetProcAsMethodN('ScriptedMyProc')); Ok, the GetProcAsMethodN function returns a TMethod type. When I try to

Re: [lazarus] What is the FPC portable way to PostMessage?

2006-07-27 Thread Michael Van Canneyt
On Thu, 27 Jul 2006, Alexandre Leclerc wrote: I need to post a message in the 'message queue' of my application so that the message is processed after other messages have been processed... In Delphi the PostMessage() function was doing the thing with a special message trap in the

Re: [lazarus] Environment variables

2006-07-26 Thread Michael Van Canneyt
On Wed, 26 Jul 2006, Alex du Plessis wrote: Hi list Does anyone know how to access environment variables via an app in FPC GetEnvironmentVariable() and friends in sysutils. See the docus: http://www.freepascal.org/docs-html/rtl/sysutils/getenvironmentvariable.html It's cross-platform.

Re: [lazarus] suggestion for relation object

2006-07-25 Thread Michael Van Canneyt
On Tue, 25 Jul 2006, Bisma Jayadi wrote: Hi all... Currently I'm planning to develop an application for database modeling, in my spare time. I plan it'd be similar to FabForce's DBDesigner 4 (http://www.fabforce.net/dbdesigner), though it has nothing to do with the FabForce's. Yes, I'll

Re: [lazarus] TStreamAdapter and lazarus

2006-07-25 Thread Michael Van Canneyt
On Mon, 24 Jul 2006, Dalton Calford wrote: Hi, I am in the middle of converting a Delphi 7 project into Lazarus on win32. I am using last nights nightly build (Lazarus-0.9.17-20060724-win32.exe) and everything appears fine until I try to convert a component library and it comes back to

Re: [lazarus] suggestion for relation object

2006-07-25 Thread Michael Van Canneyt
On Tue, 25 Jul 2006, Mattias Gaertner wrote: On Tue, 25 Jul 2006 10:59:54 +0700 Bisma Jayadi [EMAIL PROTECTED] wrote: Hi all... Currently I'm planning to develop an application for database modeling, in my spare time. I plan it'd be similar to FabForce's DBDesigner 4

Re: [lazarus] suggestion for relation object

2006-07-25 Thread Michael Van Canneyt
On Tue, 25 Jul 2006, Mattias Gaertner wrote: On Tue, 25 Jul 2006 09:37:42 +0200 (Romance Daylight Time) Michael Van Canneyt [EMAIL PROTECTED] wrote: I wouldn't recommend this approach. I tried various database modellers, and the only workable one for large databases was one which painted

Re: [lazarus] suggestion for relation object

2006-07-25 Thread Michael Van Canneyt
On Tue, 25 Jul 2006, Micha Nelissen wrote: Michael Van Canneyt wrote: Creating a separate GUI object for each object in your database is a very bad idea; I worked with such programs, and at 250 tables in the model, such programs become incredibly slow. A redraw takes forever

Re: [lazarus] suggestion for relation object

2006-07-25 Thread Michael Van Canneyt
On Tue, 25 Jul 2006, Bisma Jayadi wrote: Why don't you use a single paintbox to draw all your data on ? This will requires a huge method for object drawing, keyboard detection, and mouse detection. I think it'll be harder to code and maintain. Creating a separate GUI object for each

Re: [lazarus] suggestion for relation object

2006-07-25 Thread Michael Van Canneyt
On Tue, 25 Jul 2006, Mattias Gaertner wrote: On Tue, 25 Jul 2006 09:49:03 +0200 Micha Nelissen [EMAIL PROTECTED] wrote: Michael Van Canneyt wrote: Creating a separate GUI object for each object in your database is a very bad idea; I worked with such programs, and at 250 tables in the model

Re: [lazarus] suggestion for relation object

2006-07-25 Thread Michael Van Canneyt
On Tue, 25 Jul 2006, Bisma Jayadi wrote: and the only workable one for large databases was one which painted the objects all from scratch. I'm working on this project alone (for now), and I'm doing it in my spare time (mostly on the weekend). I think it'll be too much to code every single

Re: [lazarus] suggestion for relation object

2006-07-25 Thread Michael Van Canneyt
On Tue, 25 Jul 2006, Bisma Jayadi wrote: I would consider 250 tables rather moderate. Wow... if 250 tables still considered as moderate, I wonder how many tables will you considered as huge? I've build some large scale database application but I never use more than 200-300 tables. If the

Re: [lazarus] suggestion for relation object

2006-07-25 Thread Michael Van Canneyt
On Tue, 25 Jul 2006, Mattias Gaertner wrote: On Tue, 25 Jul 2006 10:53:25 +0200 (Romance Daylight Time) Michael Van Canneyt [EMAIL PROTECTED] wrote: On Tue, 25 Jul 2006, Mattias Gaertner wrote: On Tue, 25 Jul 2006 09:49:03 +0200 Micha Nelissen [EMAIL PROTECTED] wrote: Michael Van

Re: [lazarus] TStreamAdapter and lazarus

2006-07-25 Thread Michael Van Canneyt
On Tue, 25 Jul 2006, Dalton Calford wrote: Thanks Michael, I am debating either starting from scratch or trying to convert. As alot of the original code was based heavily on GDI+ api calls, I am strongly leaning towards a total rewrite and using the original code as scratch/prototype

Re: [lazarus] IDE menu text colour wrong

2006-07-24 Thread Michael Van Canneyt
On Mon, 24 Jul 2006, Martin Smat wrote: Michael Van Canneyt wrote: On Mon, 24 Jul 2006, Martin Smat wrote: Yes, and that is the point. Where you get the right size from? Normally you use sizeof(STRUCTURE) but this won't work for older Windows versions where you need to specify smaller

Re: [lazarus] Lazarus RxNew RXDBLookupCombo1

2006-07-24 Thread Michael Van Canneyt
On Mon, 24 Jul 2006, Nataraj S Narayan wrote: Hi I have install rxnew.lpk. Under RX DBAware I tried using RXDBLookupCombo1. It is showing the data fine, but searching is now working. I cant locate the record as and when I type the string, and I need to use the mouse exclusively. From

Re: [lazarus] Lazarus RxNew RXDBLookupCombo1

2006-07-24 Thread Michael Van Canneyt
On Mon, 24 Jul 2006, Nataraj S Narayan wrote: Hi Michael I cant find PopupOnlyLocate in the Object Inspector. Also giving the following in OnFormCreate show error as identifier not found. RXDBLookupCombo1.PopupOnlyLocate:=false; Hm. That must be a difference with the original RX, then

Re: [lazarus] Multiple instances of the same lazarus App with only one Database authentification?

2006-07-24 Thread Michael Van Canneyt
On Mon, 24 Jul 2006, Uwe Grauer wrote: Multiple instances of the same lazarus App with only one Database authentification? How would this be done? Would you use IPC for this? Yes. There is no other way IMHO. Michael. _

Re: [lazarus] Multiple instances of the same lazarus App with only one Database authentification?

2006-07-24 Thread Michael Van Canneyt
On Mon, 24 Jul 2006, Uwe Grauer wrote: Michael Van Canneyt wrote: On Mon, 24 Jul 2006, Uwe Grauer wrote: Multiple instances of the same lazarus App with only one Database authentification? How would this be done? Would you use IPC for this? Yes. There is no other

Re: [lazarus] FP/Lazarus for production use

2006-07-24 Thread Michael Van Canneyt
On Mon, 24 Jul 2006, Johannes Nohl wrote: Dear List! Well, because a lot of people asked that this is a FAQ for FPC: http://www.freepascal.org/faq.html#general-license as well as for lazarus:

Re: [lazarus] IDE menu text colour wrong

2006-07-23 Thread Michael Van Canneyt
On Sun, 23 Jul 2006, Martin Smat wrote: Florian Klaempfl wrote: Micha Nelissen wrote: Martin Smat wrote: The structure MENUITEMINFO contains in the development version of FPC new parameter hbmpItem making this structure larger then expected by Windows. Any

Re: [lazarus] IDE menu text colour wrong

2006-07-23 Thread Michael Van Canneyt
On Sun, 23 Jul 2006, Felipe Monteiro de Carvalho wrote: On 7/23/06, Michael Van Canneyt [EMAIL PROTECTED] wrote: So, but it is not actually a bug ? It just means that the command is not executed on older windows version ? I think this is a bug. Because Free Pascal should allow

Re: [lazarus] Save error: unable to create stream Form1:TForm. Access violation

2006-07-22 Thread Michael Van Canneyt
On Sat, 22 Jul 2006, Mattias Gaertner wrote: // Delphi still cannot handle wide strings properly while streaming Filer.DefineProperty('WideDefaultText', @ReadText, @WriteText, FDefaultText 'Node'); The FCL TWriter has a problem too: It refuses to write empty widestrings. This is

RE: Who is the PascalScript maintainer for lazarus?

2006-07-22 Thread Michael Van Canneyt
On Sat, 22 Jul 2006, George Birbilis wrote: It will only work for Intel 32-bit since it uses assembler instructions at some parts. BTW, I though FPC assembler isn't compatible with Delphi one, That's a wrong though ;) Almost all inline assembler written for delphi works with fpc.

Re: [lazarus] SynEdit + Unihighlighter (must have fixed caps problem)

2006-07-22 Thread Michael Van Canneyt
On Sat, 22 Jul 2006, Mattias Gaertner wrote: On Sat, 22 Jul 2006 13:10:23 +0300 George Birbilis [EMAIL PROTECTED] wrote: (i.e. does the original project now support FPC compiler and lazarus) The FPC compiler: Yes, of course Lazarus: I don't know. Since it's a VCL

Re: [lazarus] Question of feature: code browser

2006-07-22 Thread Michael Van Canneyt
On Sat, 22 Jul 2006, Mattias Gaertner wrote: On Sat, 22 Jul 2006 13:16:13 +0300 George Birbilis [EMAIL PROTECTED] wrote: and also working on another feature: there is 'find declaration' but 'find implementation' is missing...) Do you mean Ctrl+Shift+Up ? Maybe they

Re: [lazarus] Question of feature: code browser

2006-07-22 Thread Michael Van Canneyt
On Sat, 22 Jul 2006, Mattias Gaertner wrote: On Sat, 22 Jul 2006 12:47:32 +0200 (CEST) Michael Van Canneyt [EMAIL PROTECTED] wrote: On Sat, 22 Jul 2006, Mattias Gaertner wrote: On Sat, 22 Jul 2006 13:16:13 +0300 George Birbilis [EMAIL PROTECTED] wrote: and also

Re: [lazarus] Save error: unable to create stream Form1:TForm. Access violation

2006-07-22 Thread Michael Van Canneyt
On Sat, 22 Jul 2006, Mattias Gaertner wrote: On Sat, 22 Jul 2006 12:35:58 +0200 (CEST) Michael Van Canneyt [EMAIL PROTECTED] wrote: On Sat, 22 Jul 2006, Mattias Gaertner wrote: // Delphi still cannot handle wide strings properly while streaming Filer.DefineProperty

Re: [lazarus] Question of feature: code browser

2006-07-22 Thread Michael Van Canneyt
On Sat, 22 Jul 2006, Mattias Gaertner wrote: On Sat, 22 Jul 2006, Mattias Gaertner wrote: On Sat, 22 Jul 2006 13:16:13 +0300 George Birbilis [EMAIL PROTECTED] wrote: and also working on another feature: there is 'find declaration' but 'find

Re: [lazarus] Save error: unable to create stream Form1:TForm. Access violation

2006-07-22 Thread Michael Van Canneyt
On Sat, 22 Jul 2006, Mattias Gaertner wrote: On Sat, 22 Jul 2006 13:20:45 +0200 (CEST) Michael Van Canneyt [EMAIL PROTECTED] wrote: On Sat, 22 Jul 2006, Mattias Gaertner wrote: On Sat, 22 Jul 2006 12:35:58 +0200 (CEST) Michael Van Canneyt [EMAIL PROTECTED] wrote

Re: [lazarus] FP/Lazarus for production use

2006-07-22 Thread Michael Van Canneyt
On Sat, 22 Jul 2006, Lars Eriksen wrote: Hello! I am considering using FP/Lazarus for an end-user GUI application project that runs on Windows. It would be highly appreciated if you could answer any of the following questions: 1. Is FP stable enough for production use (= are there

Re: [lazarus] Is there a bittorrent library for pascal?

2006-07-20 Thread Michael Van Canneyt
On Thu, 20 Jul 2006, Alexander Todorov wrote: On 7/20/06, Christoph Donges [EMAIL PROTECTED] wrote: Because I could really use one at the moment... A friend of mine told me he was going to write something about bittorent using FPC and rtorrent library. This was some months ago. I will ask

Re: [lazarus] Is there a bittorrent library for pascal?

2006-07-20 Thread Michael Van Canneyt
On Thu, 20 Jul 2006, Alexander Todorov wrote: On 7/20/06, Michael Van Canneyt [EMAIL PROTECTED] wrote: If there is a rtorrent library Sorry. My fault. [EMAIL PROTECTED]:~$ apt-cache search rtorrent rtorrent - ncurses BitTorrent client based on LibTorrent The library is libtorrent

Re: [lazarus] About Promoting-FPC

2006-07-14 Thread Michael Van Canneyt
On Fri, 14 Jul 2006, Dale Welch wrote: this is precisely the attitude which will ensure that lazarus will never become what it should become. I agree with the point you're trying to make, but would like to point out that Florian talked about Contributors: people contributing code to

[lazarus] Lazarus website down.

2006-07-14 Thread Michael Van Canneyt
Hi, The lazarus website is down ? Michael. _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives

Re: [lazarus] About Promoting-FPC

2006-07-13 Thread Michael Van Canneyt
On Thu, 13 Jul 2006, Lord ZealoN wrote: This Thread is going OffTopic Maybe you should state explicitly what you want or expect from other people ? Michael. _ To unsubscribe: mail [EMAIL PROTECTED] with

Re: [lazarus] Is there a TDateTimePicker? (no text)

2006-07-11 Thread Michael Van Canneyt
On Mon, 10 Jul 2006, Alexandre Leclerc wrote: Is there a TDateTimePicker? What is wrong with TDateEdit ? That it only has a date ? Michael. _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the

Re: [lazarus] Lazarus Forum Organization

2006-07-10 Thread Michael Van Canneyt
On Mon, 10 Jul 2006, Vincent Snijders wrote: Felipe Monteiro de Carvalho schreef: On 7/9/06, Matthijs Willemstein [EMAIL PROTECTED] wrote: Make that another 15 :( I just removed them. Make that yet another 15 which I just removed. This morning I deleted another 16. If we

Re: [lazarus] New widget set for Lazarus

2006-07-07 Thread Michael Van Canneyt
On Fri, 7 Jul 2006, Graeme Geldenhuys wrote: Hi, Ok, I am stuck implementing my toolkit into LCL! :-) Yeah, that quick... Seeing that I don't have a single interface unit to a library like all the other widgetsets - where am I supposed to put my toolkit code? (the actual object pascal

Re: [lazarus] New widget set for Lazarus

2006-07-07 Thread Michael Van Canneyt
On Fri, 7 Jul 2006, Graeme Geldenhuys wrote: Packages exist 'on top of' the LCL. Widgetsets are 'under' the LCL. Michael. Ok, that makes sense, but I am still not sure where it should go... When you compile the IDE, how does it know where to find things like the CodeTools, etc.. For now,

Re: [lazarus] New widget set for Lazarus

2006-07-06 Thread Michael Van Canneyt
On Thu, 6 Jul 2006, Graeme Geldenhuys wrote: Hi, Is there any documentation or wiki site I can refer to on how to add a new Widget Set to Lazarus. My GUI toolkit is written in pure Object Pascal and only uses what is offered with FPC. The framework is coming on nicely and I want to

Re: [lazarus] fpDoc LazDoc vs pasDoc

2006-07-05 Thread Michael Van Canneyt
On Wed, 5 Jul 2006, Graeme Geldenhuys wrote: Hi, I comment my code using the pasDoc syntax and generate HTML files. I am thinking of moving over to fpDoc LazDoc, but have a few questions. What happens to the documentation when I refactor my code? Example: Move classes to another unit, or

Re: [lazarus] fpDoc LazDoc vs pasDoc

2006-07-05 Thread Michael Van Canneyt
On Wed, 5 Jul 2006, Graeme Geldenhuys wrote: Thanks! BTW: I just ran fpdoc against my code and the html didn't look like the FPC or Lazarus documentation. A close look at the HTML, I noticed that it is referring to a non-existent fpdoc.css stylesheet. Is fpdoc supposed to create that on

Re: [lazarus] Developing Linux application

2006-07-03 Thread Michael Van Canneyt
On Mon, 3 Jul 2006, Petr Hlozek wrote: Hi, I'm developing Linux application and I need install some share data. How should I work with these data in program? Can I use direct path to data (/usr/share/myapp/data)? Yes, although I would recommend that you make this a configuration option for

Re: [lazarus] Gdk-error on launching lazarus

2006-07-01 Thread Michael Van Canneyt
On Sat, 1 Jul 2006, Chris Kirkpatrick wrote: Hi folks - New installation of Mepis 6 (with ububtu kernel) on Toshiba satellite - 512MB RAM Latest libgdk-pixbuf-dev from Debian repository Latest libgtk2 latest subversion fpc and lazarus - both compile OK on launching lazatus I get

RE: [lazarus] lazarus licensing

2006-06-30 Thread Michael Van Canneyt
On Fri, 30 Jun 2006, George Birbilis wrote: I'm afraid that since FPC is GPL, than Lazarus can't be LGPL, but has to be GPL too, including all other code that is compiled using FPC (since compiled code contains the FPC runtime). Unless that is you compile Lazarus using Delphi, but not sure if

RE: [lazarus] lazarus licensing

2006-06-30 Thread Michael Van Canneyt
On Fri, 30 Jun 2006, George Birbilis wrote: Pages like the VMWare page recently posted on this thread mention FPC as GPL, so did other posts, that's why I commented on this. So the only part of FPC that is GPL is the tokenizer/parser/compiler itself? The compiler itself is GPL, the RTL is

RE: [lazarus] lazarus licensing

2006-06-30 Thread Michael Van Canneyt
On Fri, 30 Jun 2006, George Birbilis wrote: I'm afraid that since FPC is GPL, than Lazarus can't be LGPL, but has to be GPL too, including all other code that is compiled using FPC (since compiled code contains the FPC runtime). Unless that is you compile Lazarus using Delphi, but not sure

RE: [lazarus] Event declaration problem

2006-06-30 Thread Michael Van Canneyt
On Fri, 30 Jun 2006, George Birbilis wrote: user. I understand that it first tries to parse the right side and throws this error though, since one could have also written proc1+proc2 there, but having an extra precheck for the case of :=proc wouldn't hurt I think (or if it doesn't stop on

Re: [lazarus] I'm looking for a Image library...

2006-06-29 Thread Michael Van Canneyt
On Thu, 29 Jun 2006, Alexandre Leclerc wrote: 2006/6/28, Michael Van Canneyt [EMAIL PROTECTED]: On Wed, 28 Jun 2006, Alexandre Leclerc wrote: Hi all, I'm looking for an image library that could open and display jpg, png, bmp. Then with this class be able to convert that in a standard

Re: [lazarus] I'm looking for a Image library...

2006-06-29 Thread Michael Van Canneyt
On Thu, 29 Jun 2006, Alexandre Leclerc wrote: 2006/6/29, Michael Van Canneyt [EMAIL PROTECTED]: On Thu, 29 Jun 2006, Alexandre Leclerc wrote: I see that there are no actual TFPImage superclass that can detect the file type; but many T[JPG,PNG,PNM,TGA,BMPXPM,...]Image classes that all

Re: [lazarus] Any king of IsNumeric() function arround?

2006-06-29 Thread Michael Van Canneyt
On Thu, 29 Jun 2006, Alexandre Leclerc wrote: 2006/6/29, Matt Henley [EMAIL PROTECTED]: Which include is tryTextToFloat in? There is actually TryStrToFloat... but I can't find any TryTextToFloat. My mistake. It should have been TryStrToFloat... Michael.

Re: [lazarus] I'm looking for a Image library...

2006-06-28 Thread Michael Van Canneyt
On Wed, 28 Jun 2006, Alexandre Leclerc wrote: Hi all, I'm looking for an image library that could open and display jpg, png, bmp. Then with this class be able to convert that in a standard TBitmap so that I can draw in canvas, etc. If the class can be brilliant (auto-detect the file

Re: [lazarus] fpGui and fpGfx

2006-06-27 Thread Michael Van Canneyt
On Tue, 27 Jun 2006, Graeme Geldenhuys wrote: Hi, Anybody know the history of these two projects? Why was the development stopped? Lack of time. I still think a custom lightweight toolkit for FPC and Lazarus will be great. No dependency on large toolkits, looks the same on all

Re: Any king of IsNumeric() function arround?

2006-06-27 Thread Michael Van Canneyt
On Tue, 27 Jun 2006, Alexandre Leclerc wrote: 2006/6/27, Alexandre Leclerc [EMAIL PROTECTED]: I've looked in many rtl units for a IsNumeric() like function. Any arround or I should code one? Ok, TextToFloat will do the trick. :) Better, use TryTextToFloat - it saves you an exception :)

Re: [lazarus] Any king of IsNumeric() function arround?

2006-06-27 Thread Michael Van Canneyt
On Tue, 27 Jun 2006, Alain Michaud wrote: Hi, excuse my naive questions again, but what is wrong with val() Val does not take into account the value of DecimalSeparator. Michael. _ To unsubscribe: mail [EMAIL

Re: [lazarus] Problem porting an application

2006-06-26 Thread Michael Van Canneyt
On Mon, 26 Jun 2006, Nathan Samson wrote: Hi all I'm porting an application from delphi to lazarus/FPC Most things are allright, but I have some problems with porting the following code: code function PropertyToString(obj: TPersistent; PropName: string): string; var IntToIdent:

Re: [lazarus] Problem porting an application

2006-06-26 Thread Michael Van Canneyt
On Mon, 26 Jun 2006, Nathan Samson wrote: sorry for not giving the errors OtherMethod.pas(114,19) Error: Identifier not found FindIntToIdent OtherMethod.pas(127,18) Error: Identifier not found FindIdentToInt Where does this function 'FindIntToIdent' come from ? It's not a standard Delphi

Re: [lazarus] lazarus licensing

2006-06-23 Thread Michael Van Canneyt
On Fri, 23 Jun 2006, [EMAIL PROTECTED] wrote: Hi, I'm having some questions about the licensing of Lazarus. According to the docs supplied lazarus sourcecode is GPLed. Does this mean that the IDE binary is too? Is this automatically the case always? Yes. In my company I got the question

Re: [lazarus] lazarus licensing

2006-06-23 Thread Michael Van Canneyt
On Fri, 23 Jun 2006, Carlo Kok wrote: Michael Van Canneyt wrote: On Fri, 23 Jun 2006, [EMAIL PROTECTED] wrote: Hi, I'm having some questions about the licensing of Lazarus. According to the docs supplied lazarus sourcecode is GPLed. Does this mean that the IDE binary is too

Re: [lazarus] lazarus licensing

2006-06-23 Thread Michael Van Canneyt
On Fri, 23 Jun 2006, Darius Blaszijk wrote: - Original Message - From: Felipe Monteiro de Carvalho [EMAIL PROTECTED] To: lazarus@miraclec.com Sent: Friday, June 23, 2006 7:34 PM Subject: Re: [lazarus] lazarus licensing On 6/23/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

Re: [lazarus] Pascal IS obsolete. Let's drop it.

2006-06-21 Thread Michael Van Canneyt
On Wed, 21 Jun 2006, Giuliano Colla wrote: My point was that the name must carry the idea. The name Delphi doesn't. Indeed. I mentioned only yesterday that I can program in Object Pascal. The Delphi programmer in front of me asked: 'Yes, but can you program in delphi' ? :-) Michael.

Re: [lazarus] Lazarus/Freepascal Propaganda

2006-06-17 Thread Michael Van Canneyt
On Sat, 17 Jun 2006, Marco van de Voort wrote: How about changing the word propaganda to Marketing. For me that word has a negative conation. To me propaganda implies lying and Marketing implies spreading the word or message. To me propaganda implies lying by a state, and

Re: [lazarus] pascal is obsolete?

2006-06-16 Thread Michael Van Canneyt
On Fri, 16 Jun 2006, Mattias Gaertner wrote: 3. Better/Faster IO usage ;) Better designed I/O libraries/classes ? Better way to control the I/O buffering etc... so we will not need to hack our way to have bigger container then 255 chars... Perhaps even better: Automatically adapting

Re: [lazarus] pascal is obsolete?

2006-06-16 Thread Michael Van Canneyt
On Fri, 16 Jun 2006, ik wrote: OK I'll answer everything from this email ... On 6/16/06, Michael Van Canneyt [EMAIL PROTECTED] wrote: On Fri, 16 Jun 2006, Mattias Gaertner wrote: 3. Better/Faster IO usage ;) Better designed I/O libraries/classes ? Better way to control the I/O

RE: [lazarus] pascal is obsolete?

2006-06-15 Thread Michael Van Canneyt
On Thu, 15 Jun 2006, William Cairns wrote: Why have their never been any successful Pascal dirivitive languages? Because pascal is perfect. Why change a perfect language ? Michael. _ To unsubscribe: mail [EMAIL PROTECTED]

RE: [lazarus] c faster than pascal? was: Compiling GlScene ...

2006-06-14 Thread Michael Van Canneyt
On Wed, 14 Jun 2006, George Birbilis wrote: This would raise a simple basic question... why FPC doesn't also use 4K buffer? If it'd improve I/O performance a lot. Any specific technical reasons why FPC decide to allocate 256 byte for I/O buffer? Yes. TP compatibility. The Text internal

Re: [lazarus] c faster than pascal? was: Compiling GlScene ...

2006-06-14 Thread Michael Van Canneyt
On Wed, 14 Jun 2006, Thierry Coq (Personnel) wrote: Hello, can't you increase the I/O size? I've tested large-scale I/O buffers (80K and over) with pascal with 4x the speed of C or C++ code. Not on the FPC compiler, though. Use SetTextBuffer() from the system unit. You can set any size

Re: [lazarus] Problem with TRegistry

2006-06-14 Thread Michael Van Canneyt
On Wed, 14 Jun 2006, Andreas Berger wrote: I have a routine that I have been using for years in Delphi to read the registry. However, it does not work with Lazarus. I looked at the Lazarus sources and examples and it seems that Lazarus uses it the same as Delphi. Can someone please tell me

Re: [lazarus] Running only one instance of the program

2006-06-14 Thread Michael Van Canneyt
On Wed, 14 Jun 2006, Andreas Berger wrote: Does Lazarus have a cross-platform way of guaranteeing that only one instance of the program can run? I know how to do this in windows but would like to use a cross-platform approach for my Lazarus apps. It would also be nice (but not necessary) if

Re: [lazarus] c faster than pascal? was: Compiling GlScene ...

2006-06-13 Thread Michael Van Canneyt
On Tue, 13 Jun 2006, Bisma Jayadi wrote: All you do is compare standard IO performance. You don't compare the compiled code's speed. I know. But I/O performance benchmarking is one of the basic language comparison item. When you want to participate on ACM contest

Re: [lazarus] offline help system

2006-06-13 Thread Michael Van Canneyt
On Tue, 13 Jun 2006, Vincent Snijders wrote: Tom Verhoeff wrote: On Fri, Jun 09, 2006 at 09:32:05AM +0200, Vincent Snijders wrote: Bisma Jayadi wrote: 2. After download, I copy FCL, LCL, and RTL folder to local Lazarus docs folder (mine in c:\programs\lazarus\docs)

Re: [lazarus] Error in the first compilation

2006-06-09 Thread Michael Van Canneyt
On Fri, 9 Jun 2006, Mattias Gaertner wrote: On Thu, 8 Jun 2006 14:49:12 -0300 Arí Ricardo Ody [EMAIL PROTECTED] wrote: I'm trying to install Lazarus in a Fedora Core 5 under VMWare. I install the fpcsrc e fpc via fedora package install. when I try to compile the classic Hello world program

Re: [lazarus] Trouble installing Lazarus 0.9.16 under VMWare appliance running Fedora Core 5

2006-06-09 Thread Michael Van Canneyt
On Fri, 9 Jun 2006, Arí Ricardo Ody wrote: When I try to compile a classic Hello World program after install the packages of FPC 2.0.2(i'm going to install Lazarus 0.9.16 under this VMWare appliance running Fedora Core 5, I hope) I receive the message I show in the console screen snapshot

Re: [lazarus] Doubt about DirectoryExists

2006-06-08 Thread Michael Van Canneyt
On Wed, 7 Jun 2006, Arí Ricardo Ody wrote: The command if DirectoryExists ('\\Japi1\bradesco\Publico\Conversão COOLGEN\Acompanhamento\LOG') returns false, although the network directory \\Japi1\bradesco\Publico\Conversão COOLGEN\Acompanhamento\LOG exists. Text property of a TDirectoryEdit

Re: [lazarus] About ReadlnFromStream in ide/wutils.pas

2006-06-08 Thread Michael Van Canneyt
On Thu, 8 Jun 2006, Alexandre Leclerc wrote: 2006/6/7, Michael Van Canneyt [EMAIL PROTECTED]: Var M : TStream; F : Text; l : String; begin M:=TMyStream.Create; Try AssignStream(F,M); Reset(F); // Read your stuff here ReadLn(L,F); Close(F); Finally FreeAndNil(M

Re: [lazarus] About ReadlnFromStream in ide/wutils.pas

2006-06-08 Thread Michael Van Canneyt
On Thu, 8 Jun 2006, Alexandre Leclerc wrote: 2006/6/8, Alexandre Leclerc [EMAIL PROTECTED]: Rewrite causes no problems, but I don't know if it works or not because TMemoryStrem.SaveToFile() is not saving anything... :S can't find any file... Correction, I found the file; I was not

Re: [lazarus] About ReadlnFromStream in ide/wutils.pas

2006-06-07 Thread Michael Van Canneyt
On Wed, 7 Jun 2006, Alexandre Leclerc wrote: Well, I tought to improve the function by: while not WeHaveGotALine ReadBufferChunk ParseForEol - ReadMoreBufferIfRequired - SetStreamPositionWhereWeFoundEolToContinueThereLater You can't do that, because not all streams support positioning

Re: [lazarus] Fwd: Question about memory leaks with array of string

2006-06-06 Thread Michael Van Canneyt
On Tue, 6 Jun 2006, David Nicolás Abdala wrote: Since the fpc list is down, I post my message here... -- Forwarded message -- From: Alexandre Leclerc [EMAIL PROTECTED] Date: 05.06.2006 17:27 Subject: Question about memory leaks with array of string To: FPC-Pascal users

Re: [lazarus] empty TDateEdit

2006-06-06 Thread Michael Van Canneyt
On Tue, 6 Jun 2006, Fernando Kochhann wrote: Why TDateEdit can't be empty? Executing my software, when I leave the TDateEdit and it's empty the today's date is inserted automatically! But I need it empty. And the calendar of TDateEdit is confused, the days of the week are overlapped,

Re: [lazarus] procedure TObject.Free

2006-06-05 Thread Michael Van Canneyt
On Mon, 5 Jun 2006, Al Boldi wrote: A useful shorthand for A.Free; A := nil; isFreeAndNil(A); Similarly, A.Free; is a shorthand for if Anil then A.Destroy; As the example shows, the programmer has to take care that once a object is freed, none of the pointers to it

Re: [lazarus] SourceEditor improvements

2006-06-04 Thread Michael Van Canneyt
On Sun, 4 Jun 2006, Mattias Gaertner wrote: On Sun, 4 Jun 2006 07:09:43 +0300 Al Boldi [EMAIL PROTECTED] wrote: Mattias Gaertner wrote: Al Boldi wrote: The SourceEditor currently has the ability to search in files by searching a complete directory hierarchy. This may result

Re: [lazarus] Laarus 0.9.16 e Suse

2006-06-04 Thread Michael Van Canneyt
On Sun, 4 Jun 2006, Lord Satan wrote: Also gtk1 appears to have gone away in this version. I also read that Fedora is dropping gtk1. According to this page http://www.novell.com/products/linuxpackages/suselinux/index_all.html gtk1 is still part of OpenSUSE 10.1. So you should be

Re: [lazarus] Does 'inlike;' means what I thnik?

2006-06-02 Thread Michael Van Canneyt
On Fri, 2 Jun 2006, Alexandre Leclerc wrote: I just saw the 'inline' reserved work... It's weird, I code in Delphi since 1997 and I never got in toutch with that. This is a discovery for me! :) So if I declare: function Max(const a, b: Integer): Integer; inline; begin if a b then

Re: [lazarus] Setting up help system

2006-05-30 Thread Michael Van Canneyt
On Tue, 30 May 2006, Christian U. wrote: I think, in 0.9.16 we can have an help system that works. I tried to set up those in windows: As i dont have an perl interpreter installed ive searched for an compiled version of the docs but i dont found one ! Why would you need perl

Re: [lazarus] data files ~ cross platform

2006-05-27 Thread Michael Van Canneyt
On Sat, 27 May 2006, Dale Welch wrote: Is there a tutorial on how to set up your options files and data files for cross platform compatibility as to where to store them? I have a simple program (for now hangman, others in the works) but i want the user to be able to offer alternative

Re: [lazarus] linux sql tool

2006-05-26 Thread Michael Van Canneyt
On Fri, 26 May 2006, Graeme Geldenhuys wrote: On 5/26/06, Michael Van Canneyt [EMAIL PROTECTED] wrote: Events are something you must define in the interbase database itself. It's a construct specific to Interbase/firebird. Oh, so that is not the same as monitoring the activity of the db

Re: [lazarus] Dynamic Library on Linux??

2006-05-24 Thread Michael Van Canneyt
On Tue, 23 May 2006, David Nicolás Abdala wrote: Sorry for what I'm going to write, but.. when I try to doit from the command line (with ld ¿rigth?) I get a lot of 'unknown reference', and really don't know wich directory to point at.. You'll have to send a more complete list of errors for

Re: [lazarus] Dynamic Library on Linux??

2006-05-23 Thread Michael Van Canneyt
On Tue, 23 May 2006, David Nicolás Abdala wrote: Hi, all I can't access the lazarus site (the forum nor the mailing list archives), and can't find any information relate to how to load libraries in linux. I'm trying to make a dynamic library under Linux but I get the .o generated not the

Re: [lazarus] Dynamic Library on Linux??

2006-05-23 Thread Michael Van Canneyt
On Tue, 23 May 2006, David Nicolás Abdala wrote: Is possible to develop dynamic libraries for Linux with Lazarus?? If the answer is Yes (have my fingers cross!!) How do I load them?? (I can't find the dlopen, or equivalent, function). - dlopen and friends are in dynlibs unit (only

Re: [lazarus] contemplating future of Lazarus in context of Mono and dotGNU

2006-05-20 Thread Michael Van Canneyt
On Sat, 20 May 2006, L505 wrote: I come with a different point of view to Lazarus. I want to build projects that first feed my family and second please my sense of right. All of us who think this way should start a group/joint endeavor together because I am voting for the same

Re: [lazarus] Speedbutton property transparant default value should be false.

2006-05-19 Thread Michael Van Canneyt
On Fri, 19 May 2006, Marien van Westen wrote: Delphi compatibility. Delphi compatability is not the issue here I think. The strange thing is that speedbuttons don't have borders in the designer, but at runtime the borders show when the mouse is over the speedbutton. This is standard

Re: [lazarus] Request for PR noise !

2006-05-17 Thread Michael Van Canneyt
On Wed, 17 May 2006, Lv wrote: So if you guys want to change the name, where does it leave users like me presenting papers at conferences and citing Lazarus in technical papers as my software of choice? I am asked a lot what software I use and I explicitly promote Lazarus/FPC. This thread

Re: [lazarus] why there is no win32 component tab?

2006-05-15 Thread Michael Van Canneyt
On Mon, 15 May 2006, roozbeh gholizadeh wrote: Well.i just also saw a post on forums,somebody asking why there is no richedit components,and answers was it is not availble on other platforms? I was wondering is it against lazarus policies to have components for specefic

Re: [lazarus] Request for PR noise !

2006-05-14 Thread Michael Van Canneyt
On Sun, 14 May 2006, m2 wrote: Michael Van Canneyt a écrit : People taking offense at this name only make themselves ridiculous. I refuse to take that (or them) serious. ( Yes, and I will take the risk that I will burn eternally in hell for this ;-) ) As far as I am concerned

Re: [lazarus] Request for PR noise !

2006-05-14 Thread Michael Van Canneyt
On Sun, 14 May 2006, Ales Katona wrote: Lazarus might not be the best of names but neither is Delphi and especialy not Gambas (which sounds extremely moronic). Delphi is a stupid name too, it's just marketing which got it to the position it has. Amen to that :-) If Lazarus puts pascal

<    1   2   3   4   5   6   7   8   9   >