[AWS] Running AWS-using code on new Windows system: what about Services?

Pascal Obry pascal at obry.net
Wed Sep 24 17:17:31 CEST 2008


Jocelyn,

> In order for code using the AWS Web server to run automatically, do I need
> to register it as a service somehow? Or must the user always execute a
> batch file to start it? For example, suppose we had a program like the
> demo hello_world but that doesn't stop after 60 seconds:  how would we
> ensure it starts whenever Windows is started?

This is possible (I've done this) but not that easy.

See demos/runme_[info/service/control].ad[sb] packages.

You'll need to get the Windows Services API Ada	binding from Ted
Dennison see AWS's readme.txt.

Pascal.

-- 

--|------------------------------------------------------
--| Pascal Obry                           Team-Ada Member
--| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE
--|------------------------------------------------------
--|              http://www.obry.net
--| "The best way to travel is by means of imagination"
--|
--| gpg --keyserver wwwkeys.pgp.net --recv-key C1082595


More information about the AWS mailing list