On 17/03/2014 03:35, silvioprog wrote:
Hello,
Please see in:
http://bugs.freepascal.org/view.php?id=25872
Thank you!
As you're asking for extra attention (over people who just submit a bug
to the bug tracker without mailing the list) I do hope you either
include a patch/fix with the
On 03/15/2014 08:10 AM, Richard Mace wrote:
Hi All,
I have never written a console app and was wondering 2 things.
Firstly, if I was to write an app that doesn't require a GUI, that
runs on both Windows and Linux (with no XServer) is that classed as a
console app?
And secondly, is it fairly
On 03/16/2014 02:47 AM, Marcos Douglas wrote:
Like all Windows programmer, I use PostMessage/SendMessage a lot.
Lazarus team has created Application.QueueAsyncCall method to
substitute the (old) Windowish method todo async calls aka
PostMessage.
Ok. But what is the best way to use
On 03/16/2014 09:23 AM, zeljko wrote:
Why you must substitute PostMessage ?
This is a Windowish left-over and really alien regarding the
OS-independent making of the LCL (even though In fact the LCL even
simulates PostMessage in Linux.
-Michael
--
On 03/17/2014 10:56 AM, Michael Schnell wrote:
On 03/16/2014 02:47 AM, Marcos Douglas wrote:
Like all Windows programmer, I use PostMessage/SendMessage a lot.
Lazarus team has created Application.QueueAsyncCall method to
substitute the (old) Windowish method todo async calls aka
PostMessage.
On 3/17/14, Michael Schnell mschn...@lumino.de wrote:
A problem might be that there (right now) is no Widget Type in
Lazarus, that has no GUI binding and allows for using stuff like TTimer,
TThread.Synchronize, TThread.Queue and QueuAsyncCall().
The NoGUI WS doesn't allow this?
Bart
--
On 3/17/14, Reinier Olislagers reinierolislag...@gmail.com wrote:
...or it is a high priority problem ;)
Well, crashing the IDE should have a rather hight priority IMO ;-)
Bart
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
On 03/17/2014 11:04 AM, Bart wrote:
The NoGUI WS doesn't allow this?
No. It does not provide an Event Queue for the main thread.
-Michael
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
On Mon, 17 Mar 2014 11:04:07 +0100
Bart bartjun...@gmail.com wrote:
On 3/17/14, Michael Schnell mschn...@lumino.de wrote:
A problem might be that there (right now) is no Widget Type in
Lazarus, that has no GUI binding and allows for using stuff like TTimer,
TThread.Synchronize,
On 17/03/2014 11:05, Bart wrote:
On 3/17/14, Reinier Olislagers reinierolislag...@gmail.com wrote:
...or it is a high priority problem ;)
Well, crashing the IDE should have a rather hight priority IMO ;-)
Yes. I read the bug report after posting... would have been even better
if Silvio had
On 03/17/2014 11:14 AM, Mattias Gaertner wrote:
Feel free to add it.
It's not as impossible as I initially thought, as the fpc RTL already
provides the basic Queue implantation that can be used (while all other
active Widget Types use a queue provided by the GUI infrastructure
they attach
On 03/17/2014 11:03 AM, zeljko wrote:
No, I'll keep using QueueAsyncCall as it is because it satisfies my
needs.
I am with you, as QueueAsyncCall additionally provides queuing a
parameter for the procedure to be called in the main thread.
-Michael
--
On Mon, Mar 17, 2014 at 6:56 AM, Michael Schnell mschn...@lumino.de wrote:
On 03/16/2014 02:47 AM, Marcos Douglas wrote:
Like all Windows programmer, I use PostMessage/SendMessage a lot.
Lazarus team has created Application.QueueAsyncCall method to
substitute the (old) Windowish method todo
Hello,
I'd like to ask how to bundle offline HTML help to *.lpk package, to make key
[F1] work.
I've created some units as a part of project and documentation (using FPDoc).
I created package, copied units and xml documentation there. I renamed xml
headers (package name) and created html
On 03/17/2014 01:31 PM, Marcos Douglas wrote:
Yes, but the QueueAsyncCall needs to know what procedure to call for a
especific object (instance)
I don't understand.
The definition of the function (I use) is
procedure TApplication.QueueAsyncCall(const AMethod: TDataEvent;
Data: PtrInt);
On Mon, Mar 17, 2014 at 11:11 AM, Michael Schnell mschn...@lumino.de wrote:
On 03/17/2014 01:31 PM, Marcos Douglas wrote:
Yes, but the QueueAsyncCall needs to know what procedure to call for a
especific object (instance)
I don't understand.
The definition of the function (I use) is
I have never written a console app and was wondering 2 things.
Firstly, if I was to write an app that doesn't require a GUI, that runs on
both Windows and Linux (with no XServer) is that classed as a console app?
And secondly, is it fairly straight forward to write a console app that
stores
On 03/17/2014 03:36 PM, Marcos Douglas wrote:
The pointer to the Event Procedure, the self pointer of it's instance
(both denoted by AMethod) and the pointer to the parameter to have it
called with (denoted byData are queued and when the main thread is
ready to handle the event, it calls
On 03/17/2014 04:09 PM, Michael Schnell wrote:
If you meant the self pointer of AMethod, I of course am with you (as
same is a procedure of object).
But that is rather trivial, and AMethod could be a procedure of any
class (inducing but not forcing the TThread instance that schedules
the
On 03/17/2014 04:20 PM, Michael Schnell wrote:
I'm not sure if you simply can do free; as the last instruction
before returning from the procedure.
I just did a test and even this seems to work: An object seemingly can
free itself and return to the caller of the function just as if this
On Mon, Mar 17, 2014 at 12:20 PM, Michael Schnell mschn...@lumino.de wrote:
On 03/17/2014 04:09 PM, Michael Schnell wrote:
If you meant the self pointer of AMethod, I of course am with you (as same
is a procedure of object).
But that is rather trivial, and AMethod could be a procedure of
On Mon, Mar 17, 2014 at 1:35 PM, Michael Schnell mschn...@lumino.de wrote:
On 03/17/2014 04:20 PM, Michael Schnell wrote:
I'm not sure if you simply can do free; as the last instruction before
returning from the procedure.
I just did a test and even this seems to work: An object seemingly
Marc Santhoff wrote:
Hi,
the FAQ gives instructions for debugging FCL from within lazarus.
http://wiki.lazarus.freepascal.org/Lazarus_Faq#How_can_I_debug_FCL_components_from_packages_with_Lazarus
Does this work for RTL packages as well?
I need to set breakpoints inside serial.pp to see what
On 03/17/2014 05:42 PM, Marcos Douglas wrote:
Could you send the sources of this test?
I could if you are interested.
This is a testing project I did for the development of Widget Types
(with and without GUI Binding) on behalf of TThread.Synchronize,
TThread.Queue,
Hi,
the FAQ gives instructions for debugging FCL from within lazarus.
http://wiki.lazarus.freepascal.org/Lazarus_Faq#How_can_I_debug_FCL_components_from_packages_with_Lazarus
Does this work for RTL packages as well?
I need to set breakpoints inside serial.pp to see what data SerRead and
On Mon, Mar 17, 2014 at 2:25 PM, Michael Schnell mschn...@lumino.de wrote:
On 03/17/2014 05:42 PM, Marcos Douglas wrote:
Could you send the sources of this test?
I could if you are interested.
This is a testing project I did for the development of Widget Types (with
and without GUI
On 17/03/2014 16:40, Marc Santhoff wrote:
the FAQ gives instructions for debugging FCL from within lazarus.
http://wiki.lazarus.freepascal.org/Lazarus_Faq#How_can_I_debug_FCL_components_from_packages_with_Lazarus
Does this work for RTL packages as well?
The IDE doesn't rebuild RTL , or fpc
Em 15/03/14 22:47, Marcos Douglas escreveu:
So, what the best way to substitute PostMessage?
Maybe using QueueAsyncCall + IFPObserved/IFPObserver?
Have you tried decoupling your classes with interfaces? If I understood
your scenario correctly: Main implements an interface known by Proc,
Michael Schnell schrieb:
On 03/16/2014 09:23 AM, zeljko wrote:
Why you must substitute PostMessage ?
This is a Windowish left-over and really alien regarding the
OS-independent making of the LCL (even though In fact the LCL even
simulates PostMessage in Linux.
How would you handle
On Mo, 2014-03-17 at 17:22 +, Mark Morgan Lloyd wrote:
Marc Santhoff wrote:
Hi,
the FAQ gives instructions for debugging FCL from within lazarus.
http://wiki.lazarus.freepascal.org/Lazarus_Faq#How_can_I_debug_FCL_components_from_packages_with_Lazarus
Does this work for RTL
On Mo, 2014-03-17 at 18:03 +, Martin Frb wrote:
On 17/03/2014 16:40, Marc Santhoff wrote:
the FAQ gives instructions for debugging FCL from within lazarus.
http://wiki.lazarus.freepascal.org/Lazarus_Faq#How_can_I_debug_FCL_components_from_packages_with_Lazarus
Does this work for RTL
On Mon, Mar 17, 2014 at 3:12 PM, Joao Morais l...@joaomorais.com.br wrote:
Em 15/03/14 22:47, Marcos Douglas escreveu:
So, what the best way to substitute PostMessage?
Maybe using QueueAsyncCall + IFPObserved/IFPObserver?
Have you tried decoupling your classes with interfaces?
I thought,
Em 17/03/14 16:28, Marcos Douglas escreveu:
On Mon, Mar 17, 2014 at 3:12 PM, Joao Morais l...@joaomorais.com.br wrote:
Em 15/03/14 22:47, Marcos Douglas escreveu:
So, what the best way to substitute PostMessage?
Maybe using QueueAsyncCall + IFPObserved/IFPObserver?
Have you tried
Am 17.03.2014 20:23 schrieb Marc Santhoff m.santh...@web.de:
The IDE doesn't rebuild RTL , or fpc packages. But if you have your own
fpc build, you can always rebuild and install it with debug info.
I have no own build but the sources. Reading the FAQ it should work to
cd to .../rtl/unix,
Am 17.03.2014 19:15 schrieb Hans-Peter Diettrich drdiettri...@aol.com:
Michael Schnell schrieb:
On 03/16/2014 09:23 AM, zeljko wrote:
Why you must substitute PostMessage ?
This is a Windowish left-over and really alien regarding the
OS-independent making of the LCL (even though In fact
Somebody used this licence to release components for Lazarus?
--
The best regards,
Fabio Luis Girardi
PascalSCADA Project
http://sourceforge.net/projects/pascalscada
http://www.pascalscada.com
--
___
Lazarus mailing list
Marc Santhoff wrote:
On Mo, 2014-03-17 at 17:22 +, Mark Morgan Lloyd wrote:
Marc Santhoff wrote:
Hi,
the FAQ gives instructions for debugging FCL from within lazarus.
http://wiki.lazarus.freepascal.org/Lazarus_Faq#How_can_I_debug_FCL_components_from_packages_with_Lazarus
Does this work
37 matches
Mail list logo