How would I be able to make my program a critical process?

Thanks

I am not getting "a critical process?". Will you elaborate your question?

You have a scheduler priority with a process regarding the CPU, or are you saying you want windows to warn the user it is a critical process and they should not end task it?

Exactly shnake.

You've got it.

I vaguely remember seeing this error message in Windows 2000 I think. What version of Windows are you using and what process are you trying to terminate that gives you this error message? I don't want to randomly start killing processes to find the error message :)

Its too early in the morning to reboot!

Err, I wouldn't like to kill any of my critical processes, but to make one of my programs into one, so its not easy to be killed.

How would I go about doing this?

Can you explain why you are trying to do this?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.