Re: [fpc-pascal] class object

2010-05-11 Thread Thierry Coq
Dear Dennis, See my comment below: spir ☣ wrote: Hello, ... Second, theses texts seem to imply that classes only have drawbacks, compared to object types ;-) The reference does not compare the two models further, I guess; so why bother with a heavier system? Why did Delphi creators design

Re: [fpc-pascal] class object

2010-05-11 Thread Michael Van Canneyt
On Mon, 10 May 2010, spir ☣ wrote: Hello, Below two quotes from the ref manual: http://www.freepascal.org/docs-html/ref/refch6.html#x67-750006 In the Delphi approach to Object Oriented Programming, everything revolves around the concept of ’Classes’. A class can be seen as a pointer to

Re: [fpc-pascal] UTF8Decode

2010-05-11 Thread Graeme Geldenhuys
Luis Fernando Del Aguila Mejía het geskryf: Why WideString is not equal to Unicodestring in Windows? WideString is reference counted (for Windows COM reasons). UnicodeString is pretty much the same as WideString, but not reference counted. Regards, - Graeme - -- fpGUI Toolkit - a

Re: [fpc-pascal] UTF8Decode

2010-05-11 Thread Vincent Snijders
Graeme Geldenhuys schreef: Luis Fernando Del Aguila Mejía het geskryf: Why WideString is not equal to Unicodestring in Windows? WideString is reference counted (for Windows COM reasons). UnicodeString is pretty much the same as WideString, but not reference counted. I am pretty sure it is

Re: [fpc-pascal] UTF8Decode

2010-05-11 Thread Michael Van Canneyt
On Tue, 11 May 2010, Vincent Snijders wrote: Graeme Geldenhuys schreef: Luis Fernando Del Aguila Mejía het geskryf: Why WideString is not equal to Unicodestring in Windows? WideString is reference counted (for Windows COM reasons). UnicodeString is pretty much the same as WideString,

Re: [fpc-pascal] UTF8Decode

2010-05-11 Thread Graeme Geldenhuys
Vincent Snijders het geskryf: I am pretty sure it is the other way around, UnicodeString is the unicode version of AnsiString and is thus reference counted. WideString is the OLEstring compatible string, and is not reference counted. My mistake... only made my first cup of coffee now. :-)

Re: [fpc-pascal] UTF8Decode

2010-05-11 Thread Graeme Geldenhuys
Michael Van Canneyt het geskryf: I am pretty sure it is the other way around, UnicodeString is the unicode version of AnsiString and is thus reference counted. WideString is the OLEstring compatible string, and is not reference counted. Correct. In that case the FPC documentation is

Re: [fpc-pascal] UTF8Decode

2010-05-11 Thread Michael Van Canneyt
On Tue, 11 May 2010, Graeme Geldenhuys wrote: Michael Van Canneyt het geskryf: I am pretty sure it is the other way around, UnicodeString is the unicode version of AnsiString and is thus reference counted. WideString is the OLEstring compatible string, and is not reference counted.

Re: [fpc-pascal] UTF8Decode -- string length

2010-05-11 Thread spir ☣
On Tue, 11 May 2010 09:15:46 +0200 Graeme Geldenhuys graemeg.li...@gmail.com wrote: In that case the FPC documentation is wrong. Then could you correct the ref documentation please - Section 3.2.5. As quoted below, the docs say WideString is reference counted. --[ FPC 2.4 language

[fpc-pascal] Installing Component Packages (ex Clipboard on WindowsCE)

2010-05-11 Thread Technical
Thankyou, Felipe, for your comments concerning multiple versions of Lazarus. I am now using only one (different) version on each computer. This refers to your comments concerning the installation of component packages into Lazarus/FPC. They have been running OK once installed in Lazarus

Re: [fpc-pascal] class object

2010-05-11 Thread spir ☣
On Tue, 11 May 2010 08:52:38 +0200 (CEST) Michael Van Canneyt mich...@freepascal.org wrote: On Mon, 10 May 2010, spir ☣ wrote: Hello, Below two quotes from the ref manual: [...] I'm rather confused when reading this. [...] Thank you Thierry and Michael for your

Re: [fpc-pascal] annoying gdb bug fixed

2010-05-11 Thread Jonas Maebe
On 10 May 2010, at 15:17, Pierre Muller wrote: I just wanted to add that this bug is most probably specific to the debug format used: only the dwarf debug format generated information that triggered that bug. The reason that we generate such debug info for DWARF (namely encoding var

Re: [fpc-pascal] Installing Component Packages (ex Clipboard on WindowsCE)

2010-05-11 Thread Felipe Monteiro de Carvalho
Hello, Which component package is that? Where did you get it from? On Tue, May 11, 2010 at 10:12 AM, Technical t...@polypressuk.co.uk wrote: on three different computers without any previous history of Lazarus (2 are running XP, 1 is running Windows 7) I always get the same errors - Can't

Re: [fpc-pascal] Installing Component Packages (ex Clipboard on WindowsCE)

2010-05-11 Thread Jonas Maebe
On 11 May 2010, at 10:12, Technical wrote: Another message is Argument can't be assigned to, despite being perfectly happy to be assigned to in a previous installation. See http://wiki.freepascal.org/User_Changes_2.4.0#Treating_direct-mapped_properties_as_regular_fields Jonas

[fpc-pascal] Installing Component Packages

2010-05-11 Thread Technical
__ Information from ESET Smart Security, version of virus signature database 5104 (20100511) __ The message was checked by ESET Smart Security. http://www.eset.com ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http

[fpc-pascal] Re: annoying gdb bug fixed

2010-05-11 Thread Seth Grover
This was me... Pierre Muller Pierre, thanks so much for taking the time to look at and resolve this bug. It's working beautifully now. -SG -- This email is fiction. Any resemblance to actual events or persons living or dead is purely coincidental. Seth Grover sethdgrover[at]gmail[dot]com

[fpc-pascal] Does FPC has consts of portable OS error codes?

2010-05-11 Thread Bihar Anwar
As the title says. :-) I mean ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Does FPC has consts of portable OS error codes?

2010-05-11 Thread Bihar Anwar
I mean, for example, are there something like: - fpcError_ERROR_PATH_NOT_FOUND = ESysENOENT in UNIX fpcError_ERROR_PATH_NOT_FOUND = ERROR_PATH_NOT_FOUND in Windows - fpcERROR_FILENAME_EXCED_RANGE = ESysENAMETOOLONG in UNIX fpcERROR_FILENAME_EXCED_RANGE = ERROR_FILENAME_EXCED_RANGE

Re: [fpc-pascal] Does FPC has consts of portable OS error codes?

2010-05-11 Thread Bihar Anwar
Something like this one: https://libxpl.arsoft.homeip.net/browser/trunk/errormap/xplErrorMap.cpp?rev=70 ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal