[fpc-pascal] FreeBSD binary compatibility

2007-05-27 Thread Francisco Reyes
I was trying out a couple of examples and figured I would try to see how portable the binaries were. Compiled a trivial program in FreeBSD 6.2 Stable and copied it to a 4.9 machine. The binary worked. Is that commontly the case? ie the binaries can be run accross different FreeBSD versions?

[fpc-pascal] RTL documentation

2007-05-27 Thread Francisco Reyes
Is there a separate list for documentation? In particular I was wondering if there was any interest in adding some examples to the Socket section in the RTL documentation. As I am getting re-familiarized with pascal I am finding examples in the RTL library to be most helpfull. However when I

Re: [fpc-pascal] Usage of TInterfacedObject. Automatic release?

2007-05-27 Thread Cesar Romero
Luiz Americo, This was my first idea. And now gains force again. The problem is that the bug can not be isolated easily. Another option is that there's a mem leak in delphi also. Does some one know how to trace a mem leak in delphi? Use FastMM with FullDebugOptions []s Cesar Romero _

Re: [fpc-pascal] Usage of TInterfacedObject. Automatic release?

2007-05-27 Thread Luiz Americo Pereira Camara
Marc Weustink wrote: Luiz Americo Pereira Camara wrote: Cesar Romero wrote: Luiz Americo, Anyway, calling manually _Release avoid the leak and i will stay with it for now (I hope did not break anything). It can work for that case, but I think that is not a good ideia. If you are using a TIn

Re: [fpc-pascal] Usage of TInterfacedObject. Automatic release?

2007-05-27 Thread Luiz Americo Pereira Camara
Graeme Geldenhuys wrote: The virtual treeview has already been ported twice by two different people. Any particular reason you are doing it again? See the link for one of the ports... http://tinyurl.com/2uxewm The other one was based on a newer version of VT, but I don't think the port was 100

Re: [fpc-pascal] Usage of TInterfacedObject. Automatic release?

2007-05-27 Thread Graeme Geldenhuys
On 5/26/07, Luiz Americo Pereira Camara <[EMAIL PROTECTED]> wrote: I don't have any experience with interfaces but is quite possible that this is the case. The component i'm porting is the TVirtualTreeView that uses extensively interfaces/COM and this part of the code is a bit complex. The vir

Re: [fpc-pascal] Re: Windows CE emulator and console

2007-05-27 Thread patrick feillant
Hello, When you run your emulateur, you give the repertorie witch is shared between lazarus (compile exe) and the emulator. ex : "C:\Program Files\Microsoft Device Emulator\1.0\DeviceEmulator.exe" pocketpc.nb0 /skin Pocket_PC.xml /memsize 128 /sharedfolder C:\LzProjet\man\ Here i lunch the emulat