Re: [fpc-pascal] Re: Find the nature of a pointer

2006-09-04 Thread Felipe Monteiro de Carvalho
On 9/4/06, Milan Marusinec <[EMAIL PROTECTED]> wrote: What you want is possible with a little adjustment of the classes you want to identify at runtime. Look at the included example I am sending. Does it solves your problem ? Thanks, seams a very interresting way to solve the problem But I alr

[fpc-pascal] Re: Find the nature of a pointer

2006-09-04 Thread Milan Marusinec
Hello Felipe, I have a function that will receive a Handle. That handle could be a pointer to a structure, or a object. Is there any safe way to discover it's nature? What you want is possible with a little adjustment of the classes you want to identify at runtime. Look at the included example

Re: [fpc-pascal] NewStr error in RTL documentation

2006-09-04 Thread Peter Vreman
At 19:04 4-9-2006, you wrote: Ok. Do you know a way to allocate a new PString?. In Delphi NewStr does it. http://www.freepascal.org/docs-html/rtl/sysutils/newstr.html Peter ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.fr

Re: [fpc-pascal] NewStr error in RTL documentation

2006-09-04 Thread Leonardo M. Ram
Ok. Do you know a way to allocate a new PString?. In Delphi NewStr does it. --- Peter Vreman <[EMAIL PROTECTED]> wrote: > At 14:41 4-9-2006, you wrote: > >I found that the documentation of the rtl (objects unit) contains a > >small error in the Synopsis of > >the NewStr function. > > > >It says:

Re: [fpc-pascal] NewStr error in RTL documentation

2006-09-04 Thread Peter Vreman
At 14:41 4-9-2006, you wrote: I found that the documentation of the rtl (objects unit) contains a small error in the Synopsis of the NewStr function. It says: "Synopsis: Allocate a copy of a SHORTSTRING on the heap." I think you should replace the word SHORTSTRING by STRING. No, shortstrin

[fpc-pascal] NewStr error in RTL documentation

2006-09-04 Thread Leonardo M. Ram
I found that the documentation of the rtl (objects unit) contains a small error in the Synopsis of the NewStr function. It says: "Synopsis: Allocate a copy of a SHORTSTRING on the heap." I think you should replace the word SHORTSTRING by STRING. Leonardo M. Ramé http://leonardorame.blogspot.

Re: [fpc-pascal] Windows XP Theme

2006-09-04 Thread Graeme Geldenhuys
The ReadmeKylix.txt tells you exactly how to do it. If for some strange reason you don't have that file, I pasted it into this email. - CUT -- For Kylix users: Copy the "Themes" directory to the directory where the executable file is or write the followi