NT 4.0 Resource Kit

Question:
I have been told that the NT 4.0 Resource Kit has a tool to turn an executable, such as one created in VB5, into a service running on NT 4.0. I have my doubts about this, since I have been reading your article on creating an NT service using VB and an OCX. I would like to confirm this, because our company may buy the Resource Kit if it proves this useful.

Answer:
First, buy the Resource Kit. It has a lot of cool and useful utilities (including a help file listing the meanings of many of the registry functions).

Second, yes, the 4.0 Resource Kit (as well as the one for NT 3.50 and 3.51) includes a file (SRVANY.EXE) that will allow you to run any 32-bit and some 16-bit apps as a service. This is ideal for executables that you didn’t write. You could write your own service to start that EXE, but that is exactly what SrvAny does. So, if you need this exact functionality, then just use SrvAny. Note, however, that there are some limitations. You can’t pause a program started this way, you can’t send custom messages (128 – 256), and I found that it wasn’t 100% dependable starting apps after a reboot (but I never could nail down the conditions for this, so take the last limitation with a grain of salt).

However, if you are writing the app yourself, it would be preferable to create it as an NT service directly. Your number of options is increased geometrically, with the only downside being a small amount of pain in creating the app as a service rather than as a standard (or ActiveX) EXE.

Share the Post:
Share on facebook
Share on twitter
Share on linkedin

Overview

The Latest

your company's audio

4 Areas of Your Company Where Your Audio Really Matters

Your company probably relies on audio more than you realize. Whether you’re creating a spoken text message to a colleague or giving a speech, you want your audio to shine. Otherwise, you could cause avoidable friction points and potentially hurt your brand reputation. For example, let’s say you create a

chrome os developer mode

How to Turn on Chrome OS Developer Mode

Google’s Chrome OS is a popular operating system that is widely used on Chromebooks and other devices. While it is designed to be simple and user-friendly, there are times when users may want to access additional features and functionality. One way to do this is by turning on Chrome OS

homes in the real estate industry

Exploring the Latest Tech Trends Impacting the Real Estate Industry

The real estate industry is changing thanks to the newest technological advancements. These new developments — from blockchain and AI to virtual reality and 3D printing — are poised to change how we buy and sell homes. Real estate brokers, buyers, sellers, wholesale real estate professionals, fix and flippers, and beyond may