Re: [fpc-pascal] ANN: wxForms for Delphi - wxWidgets designer and wrapper for Delphi/Freepascal

2009-04-02 Thread Graeme Geldenhuys
2009/4/2 Guru Kathiresan : > > Today I have released a new product for Delphi and Freepascal – wxForms for > Delphi. > Congratulations on your release. It's always nice to see people embrace Free Pascal. One question and something you don't mention on your website (well I couldn't find it). For

AW: [fpc-pascal] ANN: wxForms for Delphi - wxWidgets designer and wrapper for Delphi/Freepascal

2009-04-02 Thread Helmut Hartl
Von: Guru Kathiresan Gesendet: Do 02.04.2009 08:46 An: fpc-pascal@lists.freepascal.org; Betreff: [fpc-pascal] ANN: wxForms for Delphi - wxWidgets designer and wrapper for Delphi/Freepascal > Hello, > > Today I have released a new product for Delphi and Freepascal – wxForms for > Delphi . >

[fpc-pascal] Interface reference counting

2009-04-02 Thread Felipe Monteiro de Carvalho
Hello, Just to be sure, when using an interface from COM, can I just ignore it and the compiler will release it when it's scope ends, or do I need to manually set the variable to nil? var   d3d: IDirect3D9 = nil; // Direct3D interface begin   // create the Direct3D interface   d3d := Direct3DCrea

Re: [fpc-pascal] Interface reference counting

2009-04-02 Thread Graeme Geldenhuys
On Thu, Apr 2, 2009 at 1:46 PM, Felipe Monteiro de Carvalho wrote: > Hello, > > Just to be sure, when using an interface from COM, can I just ignore > it and the compiler will release it when it's scope ends, or do I need > to manually set the variable to nil? When it goes out of scope it gets fr

Re: [fpc-pascal] Interface reference counting

2009-04-02 Thread dmitry boyarintsev
> var >   d3d: IDirect3D9 = nil; // Direct3D interface no need in this. any interface type variable is always initialized with 'nil' value. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] ANN: wxForms for Delphi - wxWidgets designer and wrapper for Delphi/Freepascal

2009-04-02 Thread Paul Ishenin
Guru Kathiresan wrote: Hello, Today I have released a new product for Delphi and Freepascal – wxForms for Delphi. This is a Pascal wrapper for wxWidgets and a Form designer for Delphi. And what about design forms in Lazarus? Best regards, Paul Ishenin. ___

[fpc-pascal] Generating code form xmi files

2009-04-02 Thread philippe . martinole
Do you know if some code allready exist to generate Pascal code form xmi files ? Best regards Philippe ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

[fpc-pascal] oCRT and ncurses in openSuSE 11.0 (32-Bit)

2009-04-02 Thread Rainer Hantsch
Hello, I wanted to port an old program from fpc 1.0.4 (SuSE 7.0) -> fpc 2.0.4 (openSuSE 11.0, 32-bit). My program uses ken wright's oCRT, and I have a version which was extended by ken wright personally with some additional functions. It was very surprising that I could compile the main part of m

[fpc-pascal] Corrections and Suggestions for the Docs

2009-04-02 Thread Peter W A Wood
I have noticed a few minor editing errors in the docs. What is the process for suggesting corrections and improvements? Regards Peter ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Corrections and Suggestions for the Docs

2009-04-02 Thread Jonas Maebe
On 02 Apr 2009, at 20:06, Peter W A Wood wrote: I have noticed a few minor editing errors in the docs. What is the process for suggesting corrections and improvements? Either via direct mail to Michael (mich...@freepascal.org), or by filing a bug report at http://bugs.freepascal.org Jon

Re: [fpc-pascal] Generating code form xmi files

2009-04-02 Thread Jonas Maebe
On 02 Apr 2009, at 15:56, philippe.martin...@teleauto.org wrote: Do you know if some code allready exist to generate Pascal code form xmi files ? What do you mean by generating Pascal code from xml files? Pascal code describes an algorithm, while xml files usually describe data. Jonas

Re: [fpc-pascal] Corrections and Suggestions for the Docs

2009-04-02 Thread Michael Van Canneyt
On Thu, 2 Apr 2009, Jonas Maebe wrote: > > On 02 Apr 2009, at 20:06, Peter W A Wood wrote: > > >I have noticed a few minor editing errors in the docs. What is the process > >for suggesting corrections and improvements? > > Either via direct mail to Michael (mich...@freepascal.org), or by fili

Re: [fpc-pascal] Generating code form xmi files

2009-04-02 Thread Tomas Hajny
On 2 Apr 09, at 20:27, Jonas Maebe wrote: > On 02 Apr 2009, at 15:56, philippe.martin...@teleauto.org wrote: > > > Do you know if some code allready exist to generate Pascal code form > > xmi > > files ? > > What do you mean by generating Pascal code from xml files? Pascal code > describes an

Re: [fpc-pascal] Generating code form xmi files

2009-04-02 Thread Philippe Martinole
Do you know if some code allready exist to generate Pascal code form xmi files ? What do you mean by generating Pascal code from xml files? Pascal code describes an algorithm, while xml files usually describe data. xmi files (not xml) are used to save uml models : http://en.wikipedia.org/wik

[fpc-pascal] Memory Size

2009-04-02 Thread Markus Glugla
Hi, I need the available memory (heap). At that time the functions maxavail or memavail did this. I read that I should use GetFPCHeapStatus and other function currently. This functions produce allways zero!! What can I do? What is wrong? I use fpc version 2.2.0 [2008/05/27] for i386. Here is so

Re: [fpc-pascal] Corrections and Suggestions for the Docs

2009-04-02 Thread Peter W A Wood
On 3 Apr 2009, at 03:32, Michael Van Canneyt wrote: I have received mails with corrections from Peter W A Wood, but didn't answer them yet. I have a deadline for 3 articles today, but tomorrow I'll look at them. My apologies for not responding earlier. No need to apologise. I should apolo

[fpc-pascal] Constructors & Destructors 101

2009-04-02 Thread Richard Ward
I am a little bit unclear about certain things on class constructors and destructors. From what I read in the language reference guide (chapter 6) and runtime utilities document (chapter 29): 1) All classes descend from TObject; even declaring a new class without using TObject as a qualif

RE: [fpc-pascal] ANN: wxForms for Delphi - wxWidgets designer andwrapper for Delphi/Freepascal

2009-04-02 Thread Guru Kathiresan
Hi, I think that is possible. I'll investigate it further. -regards, Guru Kathiresan > -Original Message- > From: fpc-pascal-boun...@lists.freepascal.org [mailto:fpc-pascal- > boun...@lists.freepascal.org] On Behalf Of Paul Ishenin > Sent: Thursday, April 02, 2009 6:22 AM > To: FPC-Pasca

RE: [fpc-pascal] ANN: wxForms for Delphi - wxWidgets designer andwrapper for Delphi/Freepascal

2009-04-02 Thread Guru Kathiresan
Hi helmut, Thanks for your advice. I'll make changes to site content to reflect Freepascal support. -regards, Guru Kathiresan > -Original Message- > From: fpc-pascal-boun...@lists.freepascal.org [mailto:fpc-pascal- > boun...@lists.freepascal.org] On Behalf Of Helmut Hartl > Sent: Thursday

RE: [fpc-pascal] ANN: wxForms for Delphi - wxWidgets designer and wrapper for Delphi/Freepascal

2009-04-02 Thread Guru Kathiresan
Hi, You are right, I didn't mention the exact version. When I started testing 8 months ago I think the main release was not working for couple of feature I have in wxForms. That's the reason I was suggesting users to use the daily build. With the recent release of Lazarus I think that problem would