On 23/08/07, Michael Van Canneyt <[EMAIL PROTECTED]> wrote:
> > Anybody know what is a alternative (non-GUI) way for the
> > Application.ProcessMessages call?
>
> There isn't.
>
> Under Linux, the following works
>
> While Not Terminated do
> fppause;
That's interesting. What's everything happening in the
"ProcessMessages" method that only relates to GUI's then? Wouldn't
Service (Daemon) type applications also require something like that?
I hope the 'fppause' method has been documented. :-) I've never used it before.
> But that doesn't translate to windows.
That's actually ok I guess. Windows doesn't have a true non-GUI
platform like Linux does. By that I mean, if it's a Windows
application, it's pretty much guaranteed that it has a GUI available.
The same can't be said for Linux executables.
At the moment I wrapped the Application.ProcessMessages with a IFDEF
MSWINDOWS and nothing for Linux. As I mentioned, I would have to test
how this affects Linux of implement your hint from above.
BTW:
tiOPF Core is now finally GUI free! :-) Tomorrow I can start
porting the GUI Mediators for fpGUI controls. (at last!)
Regards,
- Graeme -
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives