Board index » delphi » How Prevent Interruption of Process?

How Prevent Interruption of Process?

I wrote a program that I want to run for about 2 seconds without
interruption at Windows startup. How can I prevent other processes
from interrupting? I am using D3.
 

Re:How Prevent Interruption of Process?


Quote
"Sheldon Shallon" <s...@ieee.org> wrote in message
> I wrote a program that I want to run for about 2 seconds without
> interruption at Windows startup. How can I prevent other processes
> from interrupting? I am using D3.

The answer is simple: You can't. Windows is not designed for this.

The best you can do is to increase the priority (SetThreadPriority
and SetPriorityClass).

--
Regards
Torjei Kvinen

Other Threads