Click here to Skip to main content
15,845,598 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Difference between Unicode and Multibyte Pin
Pranit Kothari31-May-11 7:45
Pranit Kothari31-May-11 7:45 
GeneralRe: Difference between Unicode and Multibyte Pin
David Crow31-May-11 9:14
David Crow31-May-11 9:14 
AnswerRe: Difference between Unicode and Multibyte Pin
Nemanja Trifunovic31-May-11 7:11
Nemanja Trifunovic31-May-11 7:11 
GeneralRe: Difference between Unicode and Multibyte Pin
Pranit Kothari31-May-11 7:44
Pranit Kothari31-May-11 7:44 
GeneralRe: Difference between Unicode and Multibyte Pin
Nemanja Trifunovic31-May-11 9:29
Nemanja Trifunovic31-May-11 9:29 
AnswerRe: Difference between Unicode and Multibyte Pin
Richard MacCutchan31-May-11 8:40
mveRichard MacCutchan31-May-11 8:40 
AnswerRe: Difference between Unicode and Multibyte Pin
jschell31-May-11 9:26
jschell31-May-11 9:26 
Question[Win32] How compare two image Pin
Member 296547131-May-11 5:03
Member 296547131-May-11 5:03 
I have to develop an application that captures a portion of the desktop every 30 seconds, after viewing the captured image in the window of application, should find (and then highlight) which regions of the new image have changed compared to the previous image.

Ok, so:
HDC memDC;
memDC = CreateCompatibleDC( GetDC(hWnd) );

WM_TIMER:
InvalidateRect(...)

WM_PAINT:
hdc = BeginPaint(...);
screenDC = GetDC(0);

hBmp = CreateCompatibleBitmap(hdc, nWidth, nHeight );
hPrevBmp = SelectObject(memDC,hBmp);

BitBlt(memDC, ..., screenDC, ...);
BitBlt(hdc, ..., memDC, ...);


How can i compare the two image?
AnswerRe: [Win32] How compare two image Pin
David Crow31-May-11 5:07
David Crow31-May-11 5:07 
GeneralRe: [Win32] How compare two image Pin
Member 296547131-May-11 6:31
Member 296547131-May-11 6:31 
QuestionGetting floppy drive in logical drives Pin
VCProgrammer30-May-11 23:51
VCProgrammer30-May-11 23:51 
AnswerRe: Getting floppy drive in logical drives Pin
ShilpiP31-May-11 1:39
ShilpiP31-May-11 1:39 
QuestionRe: Getting floppy drive in logical drives Pin
David Crow31-May-11 4:29
David Crow31-May-11 4:29 
Questionstack error in char array Pin
arupsarkar30-May-11 17:18
arupsarkar30-May-11 17:18 
AnswerRe: stack error in char array Pin
«_Superman_»30-May-11 19:43
professional«_Superman_»30-May-11 19:43 
AnswerRe: stack error in char array Pin
tolw30-May-11 19:59
tolw30-May-11 19:59 
GeneralRe: stack error in char array Pin
Stefan_Lang30-May-11 23:33
Stefan_Lang30-May-11 23:33 
GeneralRe: stack error in char array Pin
tolw31-May-11 0:00
tolw31-May-11 0:00 
GeneralRe: stack error in char array Pin
Stefan_Lang31-May-11 0:07
Stefan_Lang31-May-11 0:07 
GeneralRe: stack error in char array Pin
«_Superman_»31-May-11 5:03
professional«_Superman_»31-May-11 5:03 
GeneralRe: stack error in char array Pin
Chuck O'Toole31-May-11 7:48
Chuck O'Toole31-May-11 7:48 
GeneralRe: stack error in char array Pin
Stefan_Lang31-May-11 23:59
Stefan_Lang31-May-11 23:59 
GeneralRe: stack error in char array Pin
«_Superman_»1-Jun-11 0:01
professional«_Superman_»1-Jun-11 0:01 
AnswerRe: stack error in char array Pin
Stefan_Lang30-May-11 23:40
Stefan_Lang30-May-11 23:40 
AnswerRe: stack error in char array Pin
Chuck O'Toole31-May-11 2:54
Chuck O'Toole31-May-11 2:54 

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.