peter green wrote:
What does the compiler do when translating "procedure ... message" ?
I need to know this as I want to create a non-GUI workalike of the
TApplication class that can do things like "TTimer"
"TThread.Synchronize", Message events, etc, using Windows messages in
Windows (for tes
Michael Schnell schreef:
peter green wrote:
What does the compiler do when translating "procedure ... message" ?
I need to know this as I want to create a non-GUI workalike of the
TApplication class that can do things like "TTimer"
"TThread.Synchronize", Message events, etc, using Windows mes
That is the result of what is happening. Most of it is done by the
library (the compiler can't do this by itself), and I am trying to use some
home-brew library functions here.
What I wanted to know is how the compiler does this (or how I can
find out what exactly it
I see you are still a bit lost. Maybe the documentation can help:
http://www.freepascal.org/docs-html/ref/refsu24.html
I in fact am lost (as I still don't dare to try to look into the
compiler's source code).
Unfortunately the docs text does not say what code the compiler
generates to make t
What happens is that the compiler creates
an try in the message table of the RTTI for the class. Check out the
implementation of Tobject.Dispatch to see how that is used.
Thanks. That seems to give me a clue. I have no idea what "creates a
try" means but maybe I'll find out.
Thanks again,
Michael Schnell schreef:
I see you are still a bit lost. Maybe the documentation can help:
http://www.freepascal.org/docs-html/ref/refsu24.html
I in fact am lost (as I still don't dare to try to look into the
compiler's source code).
Unfortunately the docs text does not say what code the com
> Thanks. That seems to give me a clue. I have no idea what
> "creates a try" means but maybe I'll find out.
Should have been "an entry".
___
fpc-devel maillist - fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel
See implementation of dispatch. It gets the message number and looks
for the corresponding method in a table. The compiler generates this
table at compile time.
Thanks. I did try to find it but am lost up till now. regarding
Thorsten's message I assume it is a member function to some class (
Michael Schnell wrote:
What happens is that the compiler creates
an try in the message table of the RTTI for the class. Check out the
implementation of Tobject.Dispatch to see how that is used.
Thanks. That seems to give me a clue. I have no idea what "creates a
try" means but maybe I'll fi
Thorsten Engler wrote:
Thanks. That seems to give me a clue. I have no idea what
"creates a try" means but maybe I'll find out.
Should have been "an entry"
Sorry for not guessing this :-\ .
Now I need to find out what exactly it puts into the RTTI and how to
extract it from there.
Also
"creates an entry" most probably.
Right. Thanks.
-Michael (not a native speaker :-( )
___
fpc-devel maillist - fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel
Also I failed to find the implementation of TObject.Dispatch. Have you
any hint where to search ?
Sorry.
Found it !
Thanks again.
-Michael
___
fpc-devel maillist - fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-
Thanks. I did try to find it but am lost up till now. regarding
Thorsten's message I assume it is a member function to some class
(e.g. TObject), but my usual means to find such functions don't show
it to me.
Sorry.
Found it !
Thanks again.
-Michael
I was told that in the next not yet released Lazarus version there will
be a platform independent feature that lets you create daemons
(applications without user interface).
I need to do something like this.
Is there any documentation on how this works ?
Is the sourcecode available somewhere
On Tue, 13 Feb 2007, Michael Schnell wrote:
> I was told that in the next not yet released Lazarus version there will be a
> platform independent feature that lets you create daemons (applications
> without user interface).
>
> I need to do something like this.
>
> Is there any documentation o
Michael Van Canneyt wrote:
On Tue, 13 Feb 2007, Michael Schnell wrote:
I was told that in the next not yet released Lazarus version there will be a
platform independent feature that lets you create daemons (applications
without user interface).
I need to do something like this.
Is there an
Somewhere user code must call
MyObject.Dispatch(MyMessage);
This looks as if this might be good news. The dispatch mechanism seems
to be completely platform independent and so it seems I just need to
fire the normal (obviously hierarchical) dispatch mechanism when a
message arrives.
Tha
Am Dienstag, 13. Februar 2007 16:32 schrieb Michael Van Canneyt:
> On Tue, 13 Feb 2007, Michael Schnell wrote:
> > I was told that in the next not yet released Lazarus version there
> > will be a platform independent feature that lets you create daemons
> > (applications without user interface).
>
On Tue, 13 Feb 2007, Burkhard Carstens wrote:
> Am Dienstag, 13. Februar 2007 16:32 schrieb Michael Van Canneyt:
> > On Tue, 13 Feb 2007, Michael Schnell wrote:
> > > I was told that in the next not yet released Lazarus version there
> > > will be a platform independent feature that lets you cre
Am Dienstag, 13. Februar 2007 17:42 schrieb Michael Van Canneyt:
> On Tue, 13 Feb 2007, Burkhard Carstens wrote:
> > Am Dienstag, 13. Februar 2007 16:32 schrieb Michael Van Canneyt:
> > > On Tue, 13 Feb 2007, Michael Schnell wrote:
> > > > I was told that in the next not yet released Lazarus versio
Michael Schnell wrote:
How can access the SVN ?
Unfortunately I suppose I can't access a Version Control System as here
we ave a Firewall that only allows to do http and ftp via a proxy.
IIRC SVN also can use the http protocol (exactly for this reason).
See http://www.freepascal.org/develop.
21 matches
Mail list logo