Dunna
06-03-2009, 04:53 AM
Hi everyone, so I'm interested in designing a program that would be capable of booting before everything else on the computer. What I mean is, something like a boot-time scan on an anti-virus program which can be scheduled to run at boot, in a sort of DOS style screen. My questions are as follows:
Would I need to edit the autoexec.bat / .nt file?
Will I need to compile my program without accessing any APIs requiring windows?
Can I use standard C++ with printf/scanf for input/output?
So basically: How exactly is this accomplished?
I'm academically interested in this because I've been programming C/C++ for a long time and never had to do this before. The thought popped into my head the other day and I can't stop wondering how it's done. How do I design and implement a program to run before windows?
Would I need to edit the autoexec.bat / .nt file?
Will I need to compile my program without accessing any APIs requiring windows?
Can I use standard C++ with printf/scanf for input/output?
So basically: How exactly is this accomplished?
I'm academically interested in this because I've been programming C/C++ for a long time and never had to do this before. The thought popped into my head the other day and I can't stop wondering how it's done. How do I design and implement a program to run before windows?