comp.lang.ada
 help / color / mirror / Atom feed
From: Ted Dennison <dennison@telepath.com>
Subject: Re: NT Service, WinSock
Date: Mon, 30 Oct 2000 15:50:11 GMT
Date: 2000-10-30T15:50:11+00:00	[thread overview]
Message-ID: <8tk5bf$lgh$1@nnrp1.deja.com> (raw)
In-Reply-To: 39F8DEBD.82CA66C4@telepath.com

In article <39F8DEBD.82CA66C4@telepath.com>,
  Ted Dennison <dennison@telepath.com> wrote:
> I've gotten interested enough in this to play with it a bit on my home
> system "in my copious free time". If I come up with anything
> interesting, I'll report back.

I now have a nice little thick binding built for NT services that seems
to be working. Its a generic that you simply instantiate with your
handler routines. It takes care of all the details of registering the
service and its handlers with NT.

It appears to work nicely. The only real glitch I've seen is that some
test code of mine, in trying to write to a file in a handler, causes an
exception to get raised (and handled) in the ServiceMain routine, which
should be in a completely different thread!

Other than that, with Gnat Text_IO to files works fine. "delay" works
fine. I haven't tried any other tasking or protected type primitives
yet. I'm having trouble creating processes with CreateProcess, but
that's probably an unrelated bug.

Right now I'm using this as part of a mini-project to create a SETI@Home
controller service (something I've wanted for a while), which I plan to
release as free software if I can get it working well enough. If anyone
is interested in the NT service binding itself, let me know.

Would someone familiar with CLAW care to comment on how/if it handles NT
services? I'm interested in what other thick bindings have done.

--
T.E.D.

http://www.telepath.com/~dennison/Ted/TED.html


Sent via Deja.com http://www.deja.com/
Before you buy.



  reply	other threads:[~2000-10-30 15:50 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-10-26  0:00 NT Service, WinSock Peter Hend�n
2000-10-26 16:16 ` Ted Dennison
2000-10-26 18:52   ` Larry Kilgallen
2000-10-27  1:45     ` Ted Dennison
2000-10-30 15:50       ` Ted Dennison [this message]
2000-10-31  1:21         ` Randy Brukardt
2000-10-31  3:27           ` Ted Dennison
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox