Click here to Skip to main content
16,005,236 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Execute and retrieve data from console Pin
schemp9812-Oct-05 7:09
schemp9812-Oct-05 7:09 
GeneralRe: Execute and retrieve data from console Pin
Rage12-Oct-05 7:26
professionalRage12-Oct-05 7:26 
GeneralRe: Execute and retrieve data from console Pin
David Crow12-Oct-05 7:33
David Crow12-Oct-05 7:33 
QuestionGetting IP Address through WMI Pin
qrverona12-Oct-05 4:23
qrverona12-Oct-05 4:23 
AnswerRe: Getting IP Address through WMI Pin
David Crow12-Oct-05 6:31
David Crow12-Oct-05 6:31 
QuestionApplication getting stuck because of load ? Pin
Amarelia12-Oct-05 3:25
Amarelia12-Oct-05 3:25 
AnswerRe: Application getting stuck because of load ? Pin
John M. Drescher12-Oct-05 5:08
John M. Drescher12-Oct-05 5:08 
AnswerRe: Application getting stuck because of load ? Pin
Bob Stanneveld12-Oct-05 6:01
Bob Stanneveld12-Oct-05 6:01 
Hello,

You could try the following:
::SetPriorityClass(::GetCurrentProcess(), ABOVE_NORMAL_PRIORITY_CLASS);


IMHO you should not change your process priority for reasons like this. If the user has a high CPU load, he or she is doing something important most of the time. The user would get very annoyed if your banner will consume more CPU than the users 'important' processes.

Behind every great black man...
            ... is the police. - Conspiracy brother


Blog[^]
GeneralRe: Application getting stuck because of load ? Pin
Amarelia12-Oct-05 22:17
Amarelia12-Oct-05 22:17 
QuestionRe: Application getting stuck because of load ? Pin
David Crow13-Oct-05 3:05
David Crow13-Oct-05 3:05 
AnswerRe: Application getting stuck because of load ? Pin
Amarelia13-Oct-05 3:09
Amarelia13-Oct-05 3:09 
GeneralRe: Application getting stuck because of load ? Pin
David Crow13-Oct-05 3:38
David Crow13-Oct-05 3:38 
QuestionApplication getting stuck because of load ? Pin
Amarelia12-Oct-05 3:21
Amarelia12-Oct-05 3:21 
QuestionApplication getting stuck because of load ? Pin
Amarelia12-Oct-05 3:21
Amarelia12-Oct-05 3:21 
QuestionCBitmapButton Transparency Pin
NewVCbie12-Oct-05 3:18
sussNewVCbie12-Oct-05 3:18 
QuestionWebBrowser Problem, Please. Pin
GhostEx12-Oct-05 2:47
GhostEx12-Oct-05 2:47 
QuestionTerminate sqlservr.exe process Pin
sirtimid12-Oct-05 2:23
sirtimid12-Oct-05 2:23 
QuestionRe: Terminate sqlservr.exe process Pin
David Crow12-Oct-05 3:12
David Crow12-Oct-05 3:12 
AnswerRe: Terminate sqlservr.exe process Pin
sirtimid12-Oct-05 22:02
sirtimid12-Oct-05 22:02 
QuestionRe: Terminate sqlservr.exe process Pin
David Crow13-Oct-05 3:02
David Crow13-Oct-05 3:02 
AnswerRe: Terminate sqlservr.exe process Pin
Tim Smith12-Oct-05 3:54
Tim Smith12-Oct-05 3:54 
QuestionIncrease Text speed in CBanner class ? Pin
Amarelia12-Oct-05 2:13
Amarelia12-Oct-05 2:13 
AnswerRe: Increase Text speed in CBanner class ? Pin
Cedric Moonen12-Oct-05 2:16
Cedric Moonen12-Oct-05 2:16 
GeneralRe: Increase Text speed in CBanner class ? Pin
Amarelia12-Oct-05 2:17
Amarelia12-Oct-05 2:17 
AnswerRe: Increase Text speed in CBanner class ? Pin
toxcct12-Oct-05 2:20
toxcct12-Oct-05 2:20 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.