Re: [fpc-pascal] Printing of Pointer Type

2008-07-18 Thread Marco van de Voort
On 17 Jul 2008, at 07:38, leledumbo wrote: Currently, the only way to print Pointer is to use SysUtils.Format or by typecasting it to PtrUInt first. Why not let it possible to print it directly? Any good reason for not allowing users to do it? Because there are easy ways around it

[fpc-pascal] Does Free Pascal generates Java bytecode

2008-07-18 Thread Gilles MARCOU
Hi, this is silly question but I saw that is was an idea posted as feature idea. In fact, I'd like to provide some small applications that could be downloaded and executed into a client web browser. As I understood, java does this through dowload of the corresponding Java bytecode onto the client

Re: [fpc-pascal] Serial Unit for Windows

2008-07-18 Thread Michael Van Canneyt
On Fri, 18 Jul 2008, Stephano wrote: I posted the same a week ago in FPC-devel, and did not get any feedback. I am posting the same here hoping to get some feedback :) I have made some modifications to the windows unit of Luis R. Hilario B. in order to pave the way for cross-platform

Re: [fpc-pascal] Does Free Pascal generates Java bytecode

2008-07-18 Thread Marco van de Voort
this is silly question but I saw that is was an idea posted as feature idea. In fact, I'd like to provide some small applications that could be downloaded and executed into a client web browser. As I understood, java does this through dowload of the corresponding Java bytecode onto the client

Re: [fpc-pascal] Does Free Pascal generates Java bytecode

2008-07-18 Thread Gilles MARCOU
Hi, Marco, I do not very much understand what are managed and unmanaged code needs. I just understand from your link that compiling to Java bytecode requires a fork from Free Pascal in order to rewrite a substantial part of the compiler. Something I will not do and have no resources to do. To

[fpc-pascal] FPC + Indy

2008-07-18 Thread Cesar Romero
I wrote a appserver with fpc +Indy, all works just fine in OpenSuse 11, but when I install in a Fedora box (I tried Fedora 7, 8 and 9) it just dont run and raises the exception: An unhandled exception occurred at $08159DC9 : EIdCouldNotBindSocket : Could not bind socket. Address and port are

Re: [fpc-pascal] FPC + Indy

2008-07-18 Thread Michael Van Canneyt
On Fri, 18 Jul 2008, Cesar Romero wrote: I wrote a appserver with fpc +Indy, all works just fine in OpenSuse 11, but when I install in a Fedora box (I tried Fedora 7, 8 and 9) it just dont run and raises the exception: An unhandled exception occurred at $08159DC9 : EIdCouldNotBindSocket :

Re: [fpc-pascal] FPC + Indy

2008-07-18 Thread Cesar Romero
Hi Michael, I wrote a appserver with fpc +Indy, all works just fine in OpenSuse 11, but when I install in a Fedora box (I tried Fedora 7, 8 and 9) it just dont run and raises the exception: An unhandled exception occurred at $08159DC9 : EIdCouldNotBindSocket : Could not bind socket.

Re: [fpc-pascal] FPC + Indy

2008-07-18 Thread Marco van de Voort
Im using a custom port number and Im sure that it is not in use, does anyone know if I should install custom packages in Fedora to have this working? Things that jump to mind: - If the port number is below 1024, you must run as root. The port Im using in 8090 or 8099 and Im

Re: [fpc-pascal] FPC + Indy

2008-07-18 Thread Cesar Romero
Marco van de Voort escreveu: Im using a custom port number and Im sure that it is not in use, does anyone know if I should install custom packages in Fedora to have this working? Things that jump to mind: - If the port number is below 1024, you must run as root. The port Im

Re: [fpc-pascal] FPC + Indy

2008-07-18 Thread Michael Van Canneyt
On Fri, 18 Jul 2008, Cesar Romero wrote: Marco van de Voort escreveu: Im using a custom port number and Im sure that it is not in use, does anyone know if I should install custom packages in Fedora to have this working? Things that jump to mind: - If

[fpc-pascal] chown on Mac OS X

2008-07-18 Thread Tobias Giesen
Hello, I am trying to call fpchown but it causes an infinite recursion. fpchmod works fine. This happens in all FPC 2.x versions. Any ideas? How can I recompile the FCL with debugging information, so I can trace into these problems with Lazarus? Cheers, Tobias