Saturday, May 22, 2010

How do i make a turbo c program run in background?

i wanted to create a software to kill some process whenever it is started to prevent misuse but i dont want to let the user know the programs running

How do i make a turbo c program run in background?
If you're using Turbo C++ for Windows, then create a Windows Service program or create a .DLL file with an exportable function. Then just call the function with rundll32.exe. If you use a service, only svchost.exe will be displayed in Task Manager. If you go the .dll route, only rundll32.exe will be displayed in Task Manager.


Information on creating .dll files and Windows Service programs are on Microsoft's web site.


I'm not going to tell you how to create REAL hidden tasks because that information can be misused.





(If you're using the Borland Turbo C++ 3.0 for DOS compiler, you might as well give up on this whole thing. DOS programs can't call Windows functions.)


No comments:

Post a Comment