Re: [fpc-pascal] How do I add a TComponent to TPanel dynamically?

2008-08-25 Thread Marco van de Voort
In our previous episode, Danie said: > I hope this the right forum for this question (gtk on > lazarus-0.9.24-1.fc8 rpm on fpc-2.2.0-10.fc8 rpm)(but I know there are > people here that can help me %^). > I would like to add a special TShape (descendant or TComponent) to a > panel. > I tried the f

[fpc-pascal] How do I add a TComponent to TPanel dynamically?

2008-08-25 Thread Danie
I hope this the right forum for this question (gtk on lazarus-0.9.24-1.fc8 rpm on fpc-2.2.0-10.fc8 rpm)(but I know there are people here that can help me %^). I would like to add a special TShape (descendant or TComponent) to a panel. I tried the following but must be missing something. type p

Re: [fpc-pascal] Question on exceptions

2008-08-25 Thread John Youngquist
I tried the -gl and it works this will be a big help. thank you very much JY Jonas Maebe wrote: On 25 Aug 2008, at 04:37, John Youngquist wrote: When you enable things like range checking. How do you identify when an exception has occurred and what it means? Compile the program w

Re: [fpc-pascal] OOT: fpc 2.2.2 failed to compile extpascal

2008-08-25 Thread Bee
If one fails (exit code <>0), evalution is stopped and the revision is marked as broken. Ok. Thanks for the explanation. I'll give it a try then. :) -Bee- ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman

Re: [fpc-pascal] OOT: fpc 2.2.2 failed to compile extpascal

2008-08-25 Thread Florian Klaempfl
Bee schrieb: Using the script at it took 12 min without any interaction to find a breaking revision for some x86-64 problem. Thanks for the script, but I'm not quite familiar with bash script. I don't understand how this

Re: [fpc-pascal] OOT: fpc 2.2.2 failed to compile extpascal

2008-08-25 Thread Bee
Using the script at it took 12 min without any interaction to find a breaking revision for some x86-64 problem. Thanks for the script, but I'm not quite familiar with bash script. I don't understand how this script determ

Re: [fpc-pascal] fpc 2.2.2 failed to compile extpascal

2008-08-25 Thread Florian Klaempfl
Bee schrieb: Find the last working revision using a binary search. Start e.g. with rev. 11000: if works, try 11322 etc. With this scheme a handfull tests give you the last working revision and we know which revision broke things and needs to be fixed :) A small script could even automate this.

Re: [fpc-pascal] gnugettext

2008-08-25 Thread Jonas Maebe
On 25 Aug 2008, at 14:17, Carsten Bager wrote: Did you add cwstring to the uses clause of your program ? Without it, you won't have access to the recoding routines. I do not have to do that the compiler it self calles fpc_widestr_to_ansistr witch then calles Wide2AnsiMoveProc in this proces

Re: [fpc-pascal] gnugettext

2008-08-25 Thread Carsten Bager
> Did you add cwstring to the uses clause of your program ? Without it, > you won't have access to the recoding routines. I do not have to do that the compiler it self calles fpc_widestr_to_ansistr witch then calles Wide2AnsiMoveProc in this proces I lose the the russian translation. Carsten

Re: [fpc-pascal] fpc 2.2.2 failed to compile extpascal

2008-08-25 Thread Bee
That is also the solution: make it public. Ok, I made it public instead of published. FPC v.2.2.2 is able to compile it. But, the problem with access violation still persists. :( Anyway, thanks for the hint. -Bee- ___ fpc-pascal maillist - fpc-p

Re: [fpc-pascal] fpc 2.2.2 failed to compile extpascal

2008-08-25 Thread Marco van de Voort
In our previous episode, Bee said: > >> be precise, FPC v.2.2.2 refuses an array of integer become data type > >> for a published property. > > However, the fact that FPC v.2.2.2 raises the above error still bugs me. > Is it by design? Because I read some reports that it worked with FPC > v.2

Re: [fpc-pascal] fpc 2.2.2 failed to compile extpascal

2008-08-25 Thread Bee
Find the last working revision using a binary search. Start e.g. with rev. 11000: if works, try 11322 etc. With this scheme a handfull tests give you the last working revision and we know which revision broke things and needs to be fixed :) A small script could even automate this. Alright then

Re: [fpc-pascal] fpc 2.2.2 failed to compile extpascal

2008-08-25 Thread Florian Klaempfl
Bee schrieb: Hi all, I'm experimenting with ExtPascal (extpascal.googlecode.com). I used to get it work using FPC 2.3.1 from SVN. Before today, my FPC SVN latest update is about a month ago. Today, I update it. Today FPC SVN is able to compile ExtPascal but the output is unusable. It raises

[fpc-pascal] fpc 2.2.2 failed to compile extpascal

2008-08-25 Thread Bee
Hi all, I'm experimenting with ExtPascal (extpascal.googlecode.com). I used to get it work using FPC 2.3.1 from SVN. Before today, my FPC SVN latest update is about a month ago. Today, I update it. Today FPC SVN is able to compile ExtPascal but the output is unusable. It raises an access vio

Re: [fpc-pascal] gnugettext

2008-08-25 Thread Michael Van Canneyt
On Mon, 25 Aug 2008, Carsten Bager wrote: > Hi > > I am using the gnugettext unit on Linux (Arm9), but when using Russian as > translated language I have a problem. All Russian chars are returned as "?" > > I believe the problem is in the system unit, everything looks fine (debug > output fr

[fpc-pascal] gnugettext

2008-08-25 Thread Carsten Bager
Hi I am using the gnugettext unit on Linux (Arm9), but when using Russian as translated language I have a problem. All Russian chars are returned as "?" I believe the problem is in the system unit, everything looks fine (debug output from gnugettext) but it looks like when translated in gettext

Re: [fpc-pascal] Question on exceptions

2008-08-25 Thread leledumbo
John Youngquist wrote: > > When you enable things like range checking. How do you identify > when an exception has occurred and what it means? > AFAIK a checking code is generated for every error-possible code. That's why it seems a little slower when you compile programs with checkings enabled

Re: [fpc-pascal] Question on exceptions

2008-08-25 Thread Jonas Maebe
On 25 Aug 2008, at 04:37, John Youngquist wrote: When you enable things like range checking. How do you identify when an exception has occurred and what it means? Compile the program with -gl (and all of its units with -g or -gl) to see source information next to the addresses. If that does

Re: [fpc-pascal] Documentation bug

2008-08-25 Thread leledumbo
Michael Van Canneyt wrote: > > You can get the sources, or I can send a version in private > if you wish. > Is it in 2.3.1 fpcbuild.zip in ftp? I always download fpc.zip since I don't know what fpcbuild.zip contains and it's somewhat bigger so I avoid it. -- View this message in context: http

Re: [fpc-pascal] Documentation bug

2008-08-25 Thread Michael Van Canneyt
On Mon, 25 Aug 2008, leledumbo wrote: > > > Thomas Schatzl wrote: > > > > From the programmer's manual ... (you > > need very recent docs for this) ... chapter: > > > Can I get it? Is it planned to be released with 2.4.0? You can get the sources, or I can send a version in private if you

Re: [fpc-pascal] Documentation bug

2008-08-25 Thread leledumbo
Thomas Schatzl wrote: > > From the programmer's manual ... (you > need very recent docs for this) ... chapter: > Can I get it? Is it planned to be released with 2.4.0? -- View this message in context: http://www.nabble.com/Documentation-bug-tp19066821p19138944.html Sent from the Free Pascal