Re: OT: (y) WAS: [fpc-pascal] How to stop a HttpApp via request?

2013-10-06 Thread silvioprog
Hehehe... (y) is "like" emoticon in Facebook ( http://jess3.com/media/projects/246/JESS3_Case_Study_JESS3_Labs_FB_Emoticon_Guide_Snackable-1.jpg). :) (y) -- Silvio Clécio My public projects - github.com/silvioprog ___ fpc-pascal maillist - fpc-pascal

Re: [fpc-pascal] DOS compiler wiki page: please review

2013-10-06 Thread Nikolay Nikolov
On 10/05/2013 03:07 PM, greim wrote: Hi, writing a 8086 version of fpc is not so strange as some may think! There are still some 80186 processors around running in embedded systems! These architecture is certified for some applications in industrial and avionik controll. So my wish lis

Re: OT: (y) WAS: [fpc-pascal] How to stop a HttpApp via request?

2013-10-06 Thread Sven Barth
Am 06.10.2013 18:44 schrieb "Michael Van Canneyt" : > > > > On Sun, 6 Oct 2013, Flávio Etrusco wrote: > Worked like a charm. Thank you very much Michael! (y) >>> >>> >>> >>> What does (y) mean ? >> >> >> LOL I was puzzled too. And found a "funny" topic in Yahoo Answers :-o >> But in the e

Re: [fpc-pascal] Getting the state of a TRTLCriticalSection

2013-10-06 Thread Benito van der Zander
In the end I stuck in code to increment/decrement a counter, and looked for it to be explicitly 0 or 1. Do you need to put a memory barrier around that, or does the critical section take care of that? On 10/06/2013 06:55 PM, Mark Morgan Lloyd wrote: Michael Van Canneyt wrote: On Sun, 6

Re: [fpc-pascal] Getting the state of a TRTLCriticalSection

2013-10-06 Thread Michael Van Canneyt
On Sun, 6 Oct 2013, Mark Morgan Lloyd wrote: Michael Van Canneyt wrote: On Sun, 6 Oct 2013, Mark Morgan Lloyd wrote: Is there a preferred way of reading back whether something (including the current thread) has already entered a TCriticalSection? To my knowlede this does not exist. The M

Re: [fpc-pascal] Helpers: Implementation Location influencing the result

2013-10-06 Thread Daniel Gaspary
On Sun, Oct 6, 2013 at 8:09 AM, Sven Barth wrote: > No. Whenever you call a method (either inside a class using (implicit) Self > or outside using a variable) the compiler checks whether a helper for that > type is in scope and uses that if it is. It has nothing to do with object > instantiation (

Re: [fpc-pascal] Getting the state of a TRTLCriticalSection

2013-10-06 Thread Mark Morgan Lloyd
Michael Van Canneyt wrote: On Sun, 6 Oct 2013, Mark Morgan Lloyd wrote: Is there a preferred way of reading back whether something (including the current thread) has already entered a TCriticalSection? To my knowlede this does not exist. The Microsoft implementation of a critical section has

Re: OT: (y) WAS: [fpc-pascal] How to stop a HttpApp via request?

2013-10-06 Thread Michael Van Canneyt
On Sun, 6 Oct 2013, Flávio Etrusco wrote: Worked like a charm. Thank you very much Michael! (y) What does (y) mean ? LOL I was puzzled too. And found a "funny" topic in Yahoo Answers :-o But in the end found it's a shortcut for Thumbs Up in Microsoft Messenger. Well, it clearly shows m

Re: [fpc-pascal] Re: build a compiler for GO32v2 under Windows 8 (or 7)

2013-10-06 Thread Philippe
it compiles and links ... still a lot of stuff to write and a bunch to adjust first tests ... first suprises!!! but it compiles and runs ... till the fisrt bug during first steps ... Philippe On Sat, 5 Oct 2013 22:48:09 +0200, Tomas Hajny wrote: > On Sat, October 5, 2013 21:34, Ph

OT: (y) WAS: [fpc-pascal] How to stop a HttpApp via request?

2013-10-06 Thread Flávio Etrusco
>> >> Worked like a charm. Thank you very much Michael! (y) > > > What does (y) mean ? LOL I was puzzled too. And found a "funny" topic in Yahoo Answers :-o But in the end found it's a shortcut for Thumbs Up in Microsoft Messenger. -Flávio ___ fpc-pasca

Re: [fpc-pascal] Getting the state of a TRTLCriticalSection

2013-10-06 Thread Michael Van Canneyt
On Sun, 6 Oct 2013, Mark Morgan Lloyd wrote: Is there a preferred way of reading back whether something (including the current thread) has already entered a TCriticalSection? To my knowlede this does not exist. The Microsoft implementation of a critical section has TryEnterCriticalSection,

Re: [fpc-pascal] How to stop a HttpApp via request?

2013-10-06 Thread DaWorm
Thumbs up. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] How to stop a HttpApp via request?

2013-10-06 Thread Michael Van Canneyt
On Sat, 5 Oct 2013, silvioprog wrote: 2013/9/25 Michael Van Canneyt On Wed, 25 Sep 2013, silvioprog wrote: 2013/9/24 Graeme Geldenhuys       On 24/09/13 10:46, Michael Van Canneyt wrote:       >       > I am working on it. Th

[fpc-pascal] Re: is it possible to subclass a generic class?

2013-10-06 Thread leledumbo
generic TMyMap = class(specialize TFPGMap) -- View this message in context: http://free-pascal-general.1045716.n5.nabble.com/is-it-possible-to-subclass-a-generic-class-tp5717022p5717023.html Sent from the Free Pascal - General mailing list archive at Nabble.com.

[fpc-pascal] is it possible to subclass a generic class?

2013-10-06 Thread Dennis Poon
I want to do something like this but the compile complains. Type generic TMyMap =class( generic TFPGMap) destructor Destroy; override; constructor Create; end; I want to override some methods and destructor before my class is specialized later. Is it possible? How? Denni

Re: [fpc-pascal] Helpers: Implementation Location influencing the result

2013-10-06 Thread Sven Barth
On 06.10.2013 01:46, Daniel Gaspary wrote: On Sat, Oct 5, 2013 at 8:27 PM, Sven Barth wrote: At location A the helper is not yet declared, thus GetAnotherString uses the GetString function of its own class. On location B the helper is already declared and thus the implementation of GetAnotherSt

[fpc-pascal] Getting the state of a TRTLCriticalSection

2013-10-06 Thread Mark Morgan Lloyd
Is there a preferred way of reading back whether something (including the current thread) has already entered a TCriticalSection? I'm trying to put assertions in code that, partly under non-GUI thread control via Synchronize, adds and deletes pages to a TPageControl. If I do this property Bl