Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ ROM ➜ Running the server ➜ ROM as an NT Service

ROM as an NT Service

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by DigitalSabre   (1 post)  Bio
Date Thu 04 Jul 2002 11:39 PM (UTC)
Message
Is it possible to run ROM as an NT Service? If so, what software should I get to do it? And will it be implemented later directly in the code? ( I suppose I could look at how the creators of SMAUG did it ).
Top

Posted by Nick Gammon   Australia  (23,158 posts)  Bio   Forum Administrator
Date Reply #1 on Sun 07 Jul 2002 11:36 PM (UTC)
Message
I did the SMAUG service stuff, see the file services.c in the SMAUG download. You could use it virtually unchanged for ROM (search for the word SMAUG and change it to ROM should do the trick).

Also, change comm.c and a couple of other places where the services code hooks in. For instance, here is an important place:


#ifdef WIN32
  int mainthread( int argc, char **argv )
#else
  int main( int argc, char **argv )
#endif


This is because "main" is really in services.c, and the original main is now called mainthread.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Nick Gammon   Australia  (23,158 posts)  Bio   Forum Administrator
Date Reply #2 on Sun 07 Jul 2002 11:37 PM (UTC)
Message
Alternatively, run it under Cygwin and run it in the background, which amounts to the same thing, eg.


../src/rom &

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by AkiraMuyo   (41 posts)  Bio
Date Reply #3 on Thu 05 Sep 2002 05:10 AM (UTC)
Message
Try firedaemon. Its a powerful tool for win2k, nt, and xp. You can create services and so on. The URL is http://www.firedaemon.com/

Sincerely,
Akira
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


13,686 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.