www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Windows 2000 Service and D

reply jicman <jicman_member pathlink.com> writes:
Greetings!

I am trying to have a D executable become a service using,

http://support.microsoft.com/kb/q137890/

as the instructions.  I know the D program, or the executable, is working great,
so it shouldn't be a problem.  Does anyone see any problem with this?  Any
pointers?  I've never done it, but D has brought up so many new options for me,
that it's now easy to create executables and stop using JScript scripts. :-)
Thank you Walter.  I don't care what JCC says about you, you're ok in my book.
:-)

thanks,

josé
Apr 19 2005
parent reply "Andrew Fedoniouk" <news terrainformatica.com> writes:
I think it make sense to create general purpose NT Service class for D.
There are a lot of prototypes, e.g:
http://www.codeproject.com/system/VoitelNTService.asp

Andrew.


"jicman" <jicman_member pathlink.com> wrote in message 
news:d43vcn$1m38$1 digitaldaemon.com...
 Greetings!

 I am trying to have a D executable become a service using,

 http://support.microsoft.com/kb/q137890/

 as the instructions.  I know the D program, or the executable, is working 
 great,
 so it shouldn't be a problem.  Does anyone see any problem with this?  Any
 pointers?  I've never done it, but D has brought up so many new options 
 for me,
 that it's now easy to create executables and stop using JScript scripts. 
 :-)
 Thank you Walter.  I don't care what JCC says about you, you're ok in my 
 book.
 :-)

 thanks,

 josé

 
Apr 19 2005
next sibling parent reply David L. Davis <SpottedTiger yahoo.com> writes:
In article <d44c2n$210c$1 digitaldaemon.com>, Andrew Fedoniouk says...
I think it make sense to create general purpose NT Service class for D.
There are a lot of prototypes, e.g:
http://www.codeproject.com/system/VoitelNTService.asp

Andrew.
Here's some basic NT service code that Gifford Hesketh (first.last gmail.com ) wrote back in May 2004...I can't seem to find his message in forum where this code attached, so I'm going to copy in what I downloaded back then. I've never tested it (but still plan to), but I think this would be a good starting place for you to start writing your planned general purpose NT Service class in D. :) Hope this helps, David L. ------------------------------------------------------------------- "Dare to reach for the Stars...Dare to Dream, Build, and Achieve!" ------------------------------------------------------------------- MKoD: http://spottedtiger.tripod.com/D_Language/D_Main_XP.html
Apr 19 2005
next sibling parent jicman <jicman_member pathlink.com> writes:
Thanks.

David L. Davis says...
In article <d44c2n$210c$1 digitaldaemon.com>, Andrew Fedoniouk says...
I think it make sense to create general purpose NT Service class for D.
There are a lot of prototypes, e.g:
http://www.codeproject.com/system/VoitelNTService.asp

Andrew.
Here's some basic NT service code that Gifford Hesketh (first.last gmail.com ) wrote back in May 2004...I can't seem to find his message in forum where this code attached, so I'm going to copy in what I downloaded back then. I've never tested it (but still plan to), but I think this would be a good starting place for you to start writing your planned general purpose NT Service class in D. :) Hope this helps, David L. ------------------------------------------------------------------- "Dare to reach for the Stars...Dare to Dream, Build, and Achieve!" ------------------------------------------------------------------- MKoD: http://spottedtiger.tripod.com/D_Language/D_Main_XP.html
Apr 20 2005
prev sibling parent reply J C Calvarese <jcc7 cox.net> writes:
David L. Davis wrote:
 In article <d44c2n$210c$1 digitaldaemon.com>, Andrew Fedoniouk says...
 
I think it make sense to create general purpose NT Service class for D.
There are a lot of prototypes, e.g:
http://www.codeproject.com/system/VoitelNTService.asp

Andrew.
Here's some basic NT service code that Gifford Hesketh (first.last gmail.com ) wrote back in May 2004...I can't seem to find his message in forum where this code attached, so I'm going to copy in what I downloaded back then. I've never
Not that it really matters, but I managed to find the original post: http://www.digitalmars.com/d/archives/digitalmars/D/2308.html
 tested it (but still plan to), but I think this would be a good starting place
 for you to start writing your planned general purpose NT Service class in D. :)
 





-- jcc7 http://jcc_7.tripod.com/d/
Apr 20 2005
parent reply David L. Davis <SpottedTiger yahoo.com> writes:
In article <d46mj7$1g4k$1 digitaldaemon.com>, J C Calvarese says...
David L. Davis wrote:
 In article <d44c2n$210c$1 digitaldaemon.com>, Andrew Fedoniouk says...
 
I think it make sense to create general purpose NT Service class for D.
There are a lot of prototypes, e.g:
http://www.codeproject.com/system/VoitelNTService.asp

Andrew.
Here's some basic NT service code that Gifford Hesketh (first.last gmail.com ) wrote back in May 2004...I can't seem to find his message in forum where this code attached, so I'm going to copy in what I downloaded back then. I've never
Not that it really matters, but I managed to find the original post: http://www.digitalmars.com/d/archives/digitalmars/D/2308.html
 tested it (but still plan to), but I think this would be a good starting place
 for you to start writing your planned general purpose NT Service class in D. :)
 





-- jcc7 http://jcc_7.tripod.com/d/
J C Calvarese thanks for finding and posting the link to the original message, which I just had to read over all the messages again. And I see, I still owe you one for placing that zip-file on your website when I couldn't download the file. He! He! At the time I just couldn't get my darn Outlook Express setup correctly... but now of course, all is good! JC thanks again! :) David L. ------------------------------------------------------------------- "Dare to reach for the Stars...Dare to Dream, Build, and Achieve!" ------------------------------------------------------------------- MKoD: http://spottedtiger.tripod.com/D_Language/D_Main_XP.html
Apr 20 2005
parent J C Calvarese <jcc7 cox.net> writes:
David L. Davis wrote:
 In article <d46mj7$1g4k$1 digitaldaemon.com>, J C Calvarese says...
 
David L. Davis wrote:

In article <d44c2n$210c$1 digitaldaemon.com>, Andrew Fedoniouk says...


I think it make sense to create general purpose NT Service class for D.
There are a lot of prototypes, e.g:
http://www.codeproject.com/system/VoitelNTService.asp

Andrew.
Here's some basic NT service code that Gifford Hesketh (first.last gmail.com ) wrote back in May 2004...I can't seem to find his message in forum where this code attached, so I'm going to copy in what I downloaded back then. I've never
Not that it really matters, but I managed to find the original post: http://www.digitalmars.com/d/archives/digitalmars/D/2308.html
tested it (but still plan to), but I think this would be a good starting place
for you to start writing your planned general purpose NT Service class in D. :)






-- jcc7 http://jcc_7.tripod.com/d/
J C Calvarese thanks for finding and posting the link to the original message, which I just had to read over all the messages again. And I see, I still owe you one for placing that zip-file on your website when I couldn't download the file. He! He! At the time I just couldn't get my darn Outlook Express setup correctly... but now of course, all is good! JC thanks again! :)
LOL. I forgot about all of that. I'm comprehending fewer of these D NG posts every day, but at least I can still search the archives and download the attachments. ;) I'm glad I could help. -- jcc7 http://jcc_7.tripod.com/d/
Apr 20 2005
prev sibling parent jicman <jicman_member pathlink.com> writes:
Thanks.

Andrew Fedoniouk says...
I think it make sense to create general purpose NT Service class for D.
There are a lot of prototypes, e.g:
http://www.codeproject.com/system/VoitelNTService.asp

Andrew.


"jicman" <jicman_member pathlink.com> wrote in message 
news:d43vcn$1m38$1 digitaldaemon.com...
 Greetings!

 I am trying to have a D executable become a service using,

 http://support.microsoft.com/kb/q137890/

 as the instructions.  I know the D program, or the executable, is working 
 great,
 so it shouldn't be a problem.  Does anyone see any problem with this?  Any
 pointers?  I've never done it, but D has brought up so many new options 
 for me,
 that it's now easy to create executables and stop using JScript scripts. 
 :-)
 Thank you Walter.  I don't care what JCC says about you, you're ok in my 
 book.
 :-)

 thanks,

 josé

 
Apr 20 2005