From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,2b43b4a5c0cf87ca X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!proxad.net!newsfeed.stueberl.de!newsgate.cistron.nl!skynet.be!skynet.be!newspost001!tjb!not-for-mail Date: Mon, 15 Nov 2004 14:27:24 +0100 From: Adrien Plisson User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax) X-Accept-Language: fr-fr, fr-be, fr, en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Windows Service (ADA) References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Message-ID: <4198adf1$0$7398$ba620e4c@news.skynet.be> Organization: -= Belgacom Usenet Service =- NNTP-Posting-Host: 5d310bfe.news.skynet.be X-Trace: 1100525041 news.skynet.be 7398 80.200.19.82:3212 X-Complaints-To: usenet-abuse@skynet.be Xref: g2news1.google.com comp.lang.ada:6205 Date: 2004-11-15T14:27:24+01:00 List-Id: David Amies wrote: > Hi all, > > I am new to ADA, so sorry if this has been asked before. > > I am wanting to write a windows service, I have no experience writing > code in ADA or C++ or VB for that matter. I do have plenty writing in > VBScript and PHP and HTML, and some C (a long time ago). well, this should not help a lot in writing a windows service... > I prefer to lean by reading manual's and other web pages, however I > can't seem to find anything relevant to what I am trying to do. Probably > this is just cause I'm new to this language and don't know where to > look, so I am hoping for a few pointers to some helpful relevant links. ok. a Windows service is not written specifically in Ada, and i'm not sure you will find any example on writing a Windows service in Ada. but you can do it... first, learn programming again (using your old C background for example), and learn Ada. then, learn how to interact with Windows from Ada (using Win32Ada for example). then you will need to understand how you can write a service. here are some pointers that can serve as a starting point: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dndllpro/html/msdn_ntservic.asp http://www.devx.com/cplus/Article/9857 (you may consider first writing a standard application, then, when everything is working, converting it to a service) hope this helps. -- rien