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

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

[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

[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] Installing Component Packages

2010-05-11 Thread Technical
ows7. Regards __ 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.free

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 ___

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 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 > find unit Unix" Well,

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" par

RE: [fpc-pascal] annoying gdb bug fixed

2010-05-11 Thread Pierre Muller
> -Message d'origine- > De : fpc-pascal-boun...@lists.freepascal.org [mailto:fpc-pascal- > boun...@lists.freepascal.org] De la part de Seth Grover > Envoyé : Monday, May 10, 2010 2:48 PM > À : fpc-pascal@lists.freepascal.org > Objet : [fpc-pascal] annoying gdb bug fixed > > For those of yo

Re: [fpc-pascal] class & object

2010-05-11 Thread spir ☣
On Tue, 11 May 2010 08:52:38 +0200 (CEST) Michael Van Canneyt 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 "enlighten

[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 0.9.26/F

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

2010-05-11 Thread spir ☣
On Tue, 11 May 2010 09:15:46 +0200 Graeme Geldenhuys 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 reference doc ]--

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. Correct.

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 i

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 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, but

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