Hi,
I'm writing an NT service in VB6 (using the NTSVC.ocx control). The service installs, starts and stops fine, and I've got a user interface for settings which is accessed via an icon in the system tray which again works fine. The problem I have is that when the workstation logs off, Windows seems to be trying to close my application instead of leaving it running. I tried using the RegisterServiceProcess API but then found out it doesn't work under NT. Can anyone help???
Thanks in advance.
I'm writing an NT service in VB6 (using the NTSVC.ocx control). The service installs, starts and stops fine, and I've got a user interface for settings which is accessed via an icon in the system tray which again works fine. The problem I have is that when the workstation logs off, Windows seems to be trying to close my application instead of leaving it running. I tried using the RegisterServiceProcess API but then found out it doesn't work under NT. Can anyone help???
Thanks in advance.