Re: [fpc-pascal] RE: findfirst and findnext on non accessible files

2006-06-29 Thread Marco van de Voort
On 28 Jun 06, at 23:41, Marc Santhoff wrote: Am Mittwoch, den 28.06.2006, 12:17 -0500 schrieb Jeff Pohlmeyer: . . What I don't understand is why the var errno is not set or it's value is destroyed before Findfirst/-Next return. Does this value has to be set explicitely by using

Re: [fpc-pascal] RE: findfirst and findnext on non accessible files

2006-06-29 Thread Tomas Hajny
Marco van de Voort wrote: On 28 Jun 06, at 23:41, Marc Santhoff wrote: Am Mittwoch, den 28.06.2006, 12:17 -0500 schrieb Jeff Pohlmeyer: . . What I don't understand is why the var errno is not set or it's value is destroyed before Findfirst/-Next return. Does this value has to be set

Re: [fpc-pascal] RE: findfirst and findnext on non accessible files

2006-06-29 Thread Marco van de Voort
Marco van de Voort wrote: (that is not really the problem, OS errorcodes can be hauled with getlastoserror, which is errno on *nix) Well, it is a problem, because not returning the error code directly in return value violates SysUtils.FindFirst specification and most probably Delphi

Re: [fpc-pascal] RE: findfirst and findnext on non accessible files

2006-06-29 Thread Tomas Hajny
Marco van de Voort wrote: Marco van de Voort wrote: (that is not really the problem, OS errorcodes can be hauled with getlastoserror, which is errno on *nix) Well, it is a problem, because not returning the error code directly in return value violates SysUtils.FindFirst specification and

[fpc-pascal] Code example needed, please!

2006-06-29 Thread Rainer Hantsch
Hello! A friend of me wants to write a program which uses a GUI frontend and a backend, which actually does the work. The reason is that the backend shall also be usable from the command line, without any GUI, to make it working on more platforms without having to make changes on it. So it will

Re: [fpc-pascal] Code example needed, please!

2006-06-29 Thread Пётр Косаревский
A friend of me wants to write a program which uses a GUI frontend and a backend, which actually does the work. The reason is that the backend shall also be usable from the command line, without any GUI, to make it working on more platforms without having to make changes on it. So it will be

Re[2]: [fpc-pascal] RE: Nice website

2006-06-29 Thread Пётр Косаревский
This will move the menu's to the left. I am no graphics artist, but I think it looks better on the right. Regards, - Graeme - Yes, website looks new and polished. I personally prefer darker-softer colors that were there before, but it is definitely great, that someone does change the

Re: [fpc-pascal] Code example needed, please!

2006-06-29 Thread Rainer Hantsch
Hello! Thank you very much for your answer. It is not that complicated as you possibly assume. It is primarily an execution of four very little programs which will run less than 1 second, each. (compiler, optimizer, linker, assembler). The primary point is that the textmode-backend is fully

[fpc-pascal] ExitProc

2006-06-29 Thread Carsten Bager
If I compile and run my example program and then press Crtl+C the program terminates. I would expect that it terminate by calling CloseServer procedure, but it dos not. If the program terminates normally (time runs out) the CloseServer procedure is called as expected. Have I misunderstood

Re: [fpc-pascal] ExitProc

2006-06-29 Thread Jonas Maebe
On 29 jun 2006, at 13:51, Carsten Bager wrote: If I compile and run my example program and then press Crtl+C the program terminates. I would expect that it terminate by calling CloseServer procedure, but it dos not. If the program terminates normally (time runs out) the CloseServer procedure

Re: [fpc-pascal] RE: Nice website

2006-06-29 Thread Alexandre Leclerc
Oh yeah! :) A good thing you told it; I would have never know. 2006/6/29, Graeme Geldenhuys [EMAIL PROTECTED]: On 6/29/06, Jesús Reyes A. [EMAIL PROTECTED] wrote: Nice, but a question, why is the menu on the right side?. After years and years of looking web pages one get uset to look at

Re: [fpc-pascal] RE: Nice website

2006-06-29 Thread Micha Nelissen
Graeme Geldenhuys wrote: If you are using Mozilla Firefox, do the following... View - Page Style - Nav-Left Do you also know a way for it to remember this choice for a website ? At least, it doesn't remember for me. Micha ___ fpc-pascal maillist -

Re: [fpc-pascal] ExitProc

2006-06-29 Thread Michael Van Canneyt
On Thu, 29 Jun 2006, Jonas Maebe wrote: On 29 jun 2006, at 13:51, Carsten Bager wrote: If I compile and run my example program and then press Crtl+C the program terminates. I would expect that it terminate by calling CloseServer procedure, but it dos not. If the program terminates normally

Re: [fpc-pascal] RE: Nice website

2006-06-29 Thread Graeme Geldenhuys
It doesn't remember that setting for me as well. The only thing I can think of, is if the website used cookies to store the pagestyle for the user. I am no web programmer, so don't take my word for it. :) Regards, - Graeme - On 6/29/06, Micha Nelissen [EMAIL PROTECTED] wrote: Do you also

Re: [fpc-pascal] RE: Nice website

2006-06-29 Thread Micha Nelissen
Graeme Geldenhuys wrote: It doesn't remember that setting for me as well. The only thing I can think of, is if the website used cookies to store the pagestyle for the user. I am no web programmer, so don't take my word for it. :) That's a hack IMHO, and can only work for dynamic websites.

Re: [fpc-pascal] RE: findfirst and findnext on non accessible files

2006-06-29 Thread Marc Santhoff
Am Donnerstag, den 29.06.2006, 09:12 +0200 schrieb Marco van de Voort: On 28 Jun 06, at 23:41, Marc Santhoff wrote: Am Mittwoch, den 28.06.2006, 12:17 -0500 schrieb Jeff Pohlmeyer: . . What I don't understand is why the var errno is not set or it's value is destroyed before

Re: [fpc-pascal] ExitProc

2006-06-29 Thread Tomas Hajny
Michael Van Canneyt wrote: On Thu, 29 Jun 2006, Jonas Maebe wrote: On 29 jun 2006, at 13:51, Carsten Bager wrote: If I compile and run my example program and then press Crtl+C the program terminates. I would expect that it terminate by calling CloseServer procedure, but it dos not. If the

Re[3]: [fpc-pascal] Code example needed, please!

2006-06-29 Thread Пётр Косаревский
From: Пётр Косаревский[EMAIL PROTECTED] To: FPC-Pascal users discussions fpc-pascal@lists.freepascal.org Subject: Re[2]: [fpc-pascal] Code example needed, please! I have code only with window messages and shared memory (if you don't want it, tell; otherwise I'll post some about an hour later).

Re: [fpc-pascal] Clueless here

2006-06-29 Thread Michalis Kamburelis
Darius Blaszijk wrote: Hi, I have two overloaded functions. One overloaded function just rearanges one parameter from an array of extended to an array of ^extended and calls the other overloaded function. The problem is however that the 2nd function call crashes the app. I really have no