Re: [fpc-pascal] Clipboard on WindowsCE

2010-05-10 Thread Felipe Monteiro de Carvalho
Hello, Ah, you cannot just install multiple Lazarus and run them like before. Now Lazarus uses a shared configuration directory to attend Windows design rules, so if you have multiple Lazarus you cannot run lazarus from it's executable, you need to create a shortcut with the following command line

[fpc-pascal] Generic enumerators

2010-05-10 Thread Honza
Sample code for someone in need of generic containers with generic enumerators (no biz/ads there): http://freepascal-bits.blogspot.com/2010/05/sampler-generic-enumerators-for-generic.html ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http:/

Re: [fpc-pascal] Generic enumerators

2010-05-10 Thread Anthony Walter
Is the keyword "generic" really needed here: type generic TEnumerator = class - should be - type TEnumerator = class It looks completely unnecessary and I've never seen a situation in pascal where anything but an identifier follows the keyword type. Whomever came up with the idea was probably m

Re: [fpc-pascal] Generic enumerators

2010-05-10 Thread Florian Klaempfl
Anthony Walter schrieb: > Is the keyword "generic" really needed here: Yes, I explained it multiple times to you alreay. > > type generic TEnumerator = class > > - should be - > > type TEnumerator = class > > It looks completely unnecessary and I've never seen a situation in > pascal where an

Re: [fpc-pascal] Generic enumerators

2010-05-10 Thread Henry Vermaak
On 10 May 2010 13:27, Anthony Walter wrote: > Is the keyword "generic" really needed here: > > type generic TEnumerator = class > > - should be - > > type TEnumerator = class > > It looks completely unnecessary and I've never seen a situation in pascal > where anything but an identifier follows th

[fpc-pascal] annoying gdb bug fixed

2010-05-10 Thread Seth Grover
For those of you interested, in the GDB 7.1 release there is a bug which prevents "var" arguments from being "print"ed correctly in GDB. I logged a bug for this (http://sourceware.org/bugzilla/show_bug.cgi?id=11349), for which a GDB developer checked up a fix into the GDB cvs trunk late last week.

Re: [fpc-pascal] XML Iteration

2010-05-10 Thread Marco van de Voort
On Sun, May 02, 2010 at 09:38:55PM +0100, Frank Church wrote: > Are we using the same version? Marco's notes refer to updates made in FPC > 2.4.1 and I am using 2.2.4 with Lazarus 0.9.28 2.2.4 misses the bulk of Sergei's fixes. If you are serious about fcl-xml, upgrade, preferably to todays 2.4.1

[fpc-pascal] class & object

2010-05-10 Thread spir ☣
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 an object, or a pointer to a record, wi

[fpc-pascal] UTF8Decode

2010-05-10 Thread Luis Fernando Del Aguila Mejía
When compiling this program http://www.conoce3000.com/Test.pp in Windows receive the following error: Test.pp(4,11) Error: Can't determine which overloaded function to call The problem only happens when I use a utf8 character. What am I doing wrong? In Linux, the program compile OK. _

Re: [fpc-pascal] UTF8Decode

2010-05-10 Thread Jonas Maebe
On 10 May 2010, at 23:25, Luis Fernando Del Aguila Mejía wrote: > When compiling this program http://www.conoce3000.com/Test.pp in Windows > receive the following error: > Test.pp(4,11) Error: Can't determine which overloaded function to call > The problem only happens when I use a utf8 characte

Re: [fpc-pascal] UTF8Decode

2010-05-10 Thread Luis Fernando Del Aguila Mejía
Ok, thanks. But I'm writing a book about FreePascal in Spanish (http://www.conoce3000.com/html/espaniol/Libros/PascalConFreePascal/Indice.html). And I do not want to write something to discourage the use of the compiler. I apologize if my questions are a bit uncomfortable. Why WideString is not

Re: [fpc-pascal] class & object

2010-05-10 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 suc

Re: [fpc-pascal] class & object

2010-05-10 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-10 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 cro