PDA

Click to See Complete Forum and Search --> : NT Service application problem ! HELP


sepul6006
Feb 25th, 2001, 01:44 PM
I wrote a simple vb app, read all the documents relating to service application .
and um... I used SRVANY.EXE and installed and ran the service successfully, wrote a "message subclassing" and captured WM_ENDSESSION and WM_QUERYENDSESSION and used "DefWindowProc" function for these messages. the app worked pretty well as a service and never unloaded during log-off's !

* The problems is , that after I log-off and log-on to system again , the main program have some GUI probs , the main window won't close ( "x" button ).

note that I tested it with that free OCX ! but I got the same problem !

what should I do with this prob ?
please help :>
thanks

Feb 27th, 2001, 05:34 AM
Look at this Site
ftp://mc-sec.ath.cx/NTService
ther is an NtService- Control with example that will work

sepul6006
Feb 28th, 2001, 06:26 AM
thanx for the link , but I can't access the site anonymously !
it's ftp and needs user/pass to let me in !