Windows programming

Moderators: None (Apply to moderate this forum)
Number of threads: 3711
Number of posts: 9173

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
How Can I make my service to RUN in Kernel Mode ? Posted by sbt on 15 Apr 2003 at 1:27 PM
Hi,
I have to make one application to RUN in kernel Mode. I thought of writing a service, but I don't think I can run that service in Kernel Mode.

Is there any way to make any application of service to run in Kernel Mode ??

Thanks in advance.
sbt



Report
Re: How Can I make my service to RUN in Kernel Mode ? Posted by biki on 17 Apr 2003 at 8:23 AM
I dont know about running a service in kernel mode, though you can write a NT Native Application that can run in kernel mode. However, kernel mode "apps"/drivers do not have access to any GUI elements. An example of a native application is the scandisk that runs in Windows 2000 when the os starts and has detected imporper shutdown. You would need the Nt/2K DDK for making such "apps". What exactly do you need to do ? Maybe there are other ways than resorting to kernel mode ?

~Bikram

Report
Re: How Can I make my service to RUN in Kernel Mode ? Posted by sbt on 17 Apr 2003 at 11:00 AM
Thanks a lot for your information. I am writing a service which is a socket application, which manages IP address on that perticular machine. Something similar to DHCP client, but does removes IP address in certian conditions. Now I have a requirement that, even if system freezes because of some reason, my service application needs to run. I was thinking if I can make it run in kernel mode thread. It has no UI, but definitely it needs to be a service.




 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.