Newsgroups : Borland : borland.public.delphi.nativeapi.win32 : 2008 Apr : CreateProcess() Hogging Resources?

www.cryer.info
Managed Newsgroup Archive

CreateProcess() Hogging Resources?

Subject:CreateProcess() Hogging Resources?
Posted by:"APawlik" (pawl..@gmx.net)
Date:Fri, 18 Apr 2008 23:08:02 +0200

Within the same procedure, I start a timer and later I call
CreateProcess() with the param NORMAL_PRIORITY_CLASS. The
timer stops running immediately, CreateProcess seeming to
hog all the resources (though Task Manager shows between
1 and 5% of CPU Usage). How do I get parallel processes like
this timer to continue working, i.e. are there parameters in
CreateProcess I have to adjust?

Any hints much appreciated.

Andreas

Glossary

Replies:

www.cryer.info
Managed Newsgroup Archive