Re: [MSEide-MSEgui-talk] Windows Service Application support

2014-10-02 Thread Graeme Geldenhuys
On 2014-10-02 06:25, Martin Schreiber wrote:
 MSEgui supports event driven non-GUI applications.

Thanks, but I need an actual Windows Service Application that registers
with the Windows Service Manager (a client requirement for this
program). I'll go with the classes introduced in FPC.

Regards,
  - Graeme -

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/

--
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/4140/ostg.clktrk
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Windows Service Application support

2014-10-02 Thread Michael Schnell
On 10/02/2014 08:59 AM, Graeme Geldenhuys wrote:
 Thanks, but I need an actual Windows Service Application
The Windows Service and Linux Daemon Applications would greatly 
benefit from being Event Driven. This could easily be done by basing 
them on NoGUI.

-Michael

--
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/4140/ostg.clktrk
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Windows Service Application support

2014-10-02 Thread Michael Schnell
On 10/02/2014 07:25 AM, Martin Schreiber wrote:

 MSEgui supports event driven non-GUI applications.
We have been discussing this since years ;-) .
The (strictly closed) TThread implementation in the fpc RTL prevents an 
(easy) implementation of this (i.e. without creating a second Event 
Queue working in parallel with the Event Queue provided by TThread).

My attempts to discuss this in fpc-develop seem to be considered opening 
a can of worms :-( . (In fact - IMHO - also existing Lazarus Widget 
Types could benefit from directly using the Event Queue in the RTL 
instead of doing their own parallel queues.)

Nonetheless since the (not yet released) TThread implementation in the 
svn finally provides the Delphi compatible (since Delphi 7 or so) 
TThread.Queue procedure, I was able to do a draft for the Interface 
unit providing the TApplication and TTimer objects for an active 
non-GUI (nearly) fully LCL-compatible widget type. In fact, this is a 
rather lightweight and easy thingy. It does not contain any arch or OS 
depending code.

Finally. A more versatile TThread implementation could provide an 
(optional) Event Queue instance (plus the appropriate main Loop) for 
each thread, allowing event driven programming for worker threads. 
(Right now the Event Queue is strictly a single Class thingy doing the 
Event Queue only for the Main Thread. )

IMHO, Event Queue enabled worker threads might be a nice base for 
providing parallel loop or similar language/library constructs to 
support easy-to-use speeding up certain applications in SMP.

(Does mse support Event Queues for worker threads ? )

(I did this only for fun and for research. I don't really need it any 
more, as my colleagues seemingly will never find the time to port their 
(huge) embedded Delphi projects to Linux using fpc.)

-Michael

--
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/4140/ostg.clktrk
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Windows Service Application support

2014-10-02 Thread Martin Schreiber
On Thursday 02 October 2014 11:04:08 Michael Schnell wrote:

 (Does mse support Event Queues for worker threads ? )

Yes, teventthread supports it.

Martin

--
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/4140/ostg.clktrk
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Windows Service Application support

2014-10-01 Thread Martin Schreiber
On Thursday 02 October 2014 00:16:23 Graeme Geldenhuys wrote:
 Hi,

 Does MSEgui have some Unix Daemon or Windows Service Application
 support?  Or is it best to simply use the standard classes (eg:
 TCustomDaemon) included with FPC?

MSEgui supports event driven non-GUI applications. Instead of msegui 
add msenogui to uses of the program and use datamodules and non-GUI 
components only (ttimer, tthreadcomp, tpipereader, tnoguiaction, 
tprocmonitor...). Examples are here:
https://gitorious.org/mseuniverse/mseuniverse/source/attic/msedocumenting/mse/trunk/help/tutorials/nogui
Needs MSEgui current git master version.

Martin

--
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/4140/ostg.clktrk
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk