| Computing.Net: Over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to sign up now, it's free! |
Running an application as a service
|
Original Message
|
Name: Joe
Date: May 15, 2002 at 14:40:45 Pacific
Subject: Running an application as a service |
Comment: Does anybody know how to run an application as a service on Windows NT/2000? I have a Visual Basic program that peeks/pokes memory. However, some of direct memory access are not allowed in Windows NT/2000. I heard that it should be ok if I run the application as a service. Thank you for help.
Report Offensive Message For Removal
|
|
Response Number 1
|
Name: й§kmªñ
Date: May 15, 2002 at 19:56:52 Pacific
|
Reply: (edit)Try using SRVANY, or "service any". if you go to lycos.com and use their ftp search engine you should be able to find it with any problems. One thing though, I doubt it will work. Direct access is DIRECT ACCESS whether its a service or not. If it works let us know...
Report Offensive Follow Up For Removal
|
|
Response Number 2
|
Name: Joe
Date: June 7, 2002 at 17:24:59 Pacific
|
Reply: (edit)Thank you for your excellent response!! Yeah, you are right. I have successfully installed my application as a service with the suggested tools (instsrv.exe and srvany.exe), but still encountered a problem with direct memory access. Nevertheless, I found a site that may help me. I have not tried yet, but will do it soon. The site is listed on the bottom. * Reference for User-Defined Serivce on NT/2K http://www.pyeung.com/userdefinedservice.html * Reference for I/O Port Control on NT/2K http://www.beyondlogic.org/porttalk/porttalk.htm
Report Offensive Follow Up For Removal
|
|
Response Number 3
|
Name: Joe
Date: June 12, 2002 at 10:37:49 Pacific
|
Reply: (edit)My initial test was successful with PortTalk (ref. #2 above). I used allowio.exe to open up a port to read/write data successfully. I need to further investigate this for my application, but it looks promising. There is a question: Does anybody know how Microsoft Windows 2000 memmory is configured? I need to know this so that I don't create any conflict with operating system when I access memmory under Windows 2000.
Report Offensive Follow Up For Removal
|

Post Locked
This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
Go to Windows 2000 Forum Home