Click here to Skip to main content
15,914,225 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: convert finction for 'unsigned char' to 'char *' Pin
sunit510-Dec-06 17:46
sunit510-Dec-06 17:46 
GeneralRe: convert finction for 'unsigned char' to 'char *' Pin
With_problem10-Dec-06 17:52
With_problem10-Dec-06 17:52 
GeneralRe: convert finction for 'unsigned char' to 'char *' Pin
sunit510-Dec-06 18:02
sunit510-Dec-06 18:02 
GeneralRe: convert finction for 'unsigned char' to 'char *' Pin
With_problem10-Dec-06 18:30
With_problem10-Dec-06 18:30 
GeneralRe: convert finction for 'unsigned char' to 'char *' Pin
Nibu babu thomas10-Dec-06 18:07
Nibu babu thomas10-Dec-06 18:07 
GeneralRe: convert finction for 'unsigned char' to 'char *' Pin
David Crow11-Dec-06 4:09
David Crow11-Dec-06 4:09 
Questionhow to recover deleted msg from outlook express Pin
naveen padiyar10-Dec-06 17:37
naveen padiyar10-Dec-06 17:37 
Questionbitblt Cpu consumption Pin
Vissu8910-Dec-06 17:35
Vissu8910-Dec-06 17:35 
I am trying to implement a Screen capture program similar to VNC. The issue is
when i use the BitBlt to capture the screen, the cpu goes up to nearly 100% when
the hardware acceleration is set to Full.

I tried this on Couple of machines, on a dell inspiron laptop 6000 it shows abt 60%
but when i run the same on my desktop which has intel chip set and intel video card
the cpu stays 100%. I tried BitBlt on the DC's optained from CreateDIBSection and CreateCompatibleBitmap but did not help.

The Same code Cpu utilisation drops down to 20% - 30% maximum, if the hardware accleration
is set to None

Can anyone please advise me how to minimise the cpu utilisation when hardware acceleration
is set to Full.

If i run the VNC on the same intel machine, it takes only 40% cpu max.

--Vissu.
AnswerRe: bitblt Cpu consumption Pin
Mark Salsbery10-Dec-06 18:17
Mark Salsbery10-Dec-06 18:17 
GeneralRe: bitblt Cpu consumption Pin
Vissu8910-Dec-06 19:34
Vissu8910-Dec-06 19:34 
QuestionCreateProcess problem Pin
poda10-Dec-06 16:50
poda10-Dec-06 16:50 
AnswerRe: CreateProcess problem Pin
Michael Dunn10-Dec-06 17:08
sitebuilderMichael Dunn10-Dec-06 17:08 
GeneralRe: CreateProcess problem Pin
poda10-Dec-06 19:52
poda10-Dec-06 19:52 
AnswerRe: CreateProcess problem Pin
Naveen10-Dec-06 17:11
Naveen10-Dec-06 17:11 
GeneralRe: CreateProcess problem Pin
poda10-Dec-06 19:42
poda10-Dec-06 19:42 
GeneralRe: CreateProcess problem Pin
Naveen10-Dec-06 19:46
Naveen10-Dec-06 19:46 
GeneralRe: CreateProcess problem Pin
poda10-Dec-06 21:30
poda10-Dec-06 21:30 
QuestionWindows Clipboard Format Pin
Jeffrey Walton10-Dec-06 16:38
Jeffrey Walton10-Dec-06 16:38 
AnswerRe: Windows Clipboard Format Pin
Michael Dunn10-Dec-06 17:09
sitebuilderMichael Dunn10-Dec-06 17:09 
GeneralRe: Windows Clipboard Format Pin
Jeffrey Walton10-Dec-06 17:27
Jeffrey Walton10-Dec-06 17:27 
GeneralRe: Windows Clipboard Format Pin
Jeffrey Walton10-Dec-06 17:30
Jeffrey Walton10-Dec-06 17:30 
GeneralRe: Windows Clipboard Format Pin
Jeffrey Walton10-Dec-06 17:50
Jeffrey Walton10-Dec-06 17:50 
QuestionWhich function called when drop file on Exe Pin
rp_suman10-Dec-06 13:54
rp_suman10-Dec-06 13:54 
AnswerRe: Which function called when drop file on Exe Pin
Michael Dunn10-Dec-06 14:27
sitebuilderMichael Dunn10-Dec-06 14:27 
GeneralRe: Which function called when drop file on Exe Pin
rp_suman10-Dec-06 14:42
rp_suman10-Dec-06 14:42 

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.