Click here to Skip to main content
15,888,984 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Need Help in writing a Windows device driver Pin
C++myLife14-Nov-16 0:23
C++myLife14-Nov-16 0:23 
GeneralRe: Need Help in writing a Windows device driver Pin
Eddy Vluggen14-Nov-16 3:49
professionalEddy Vluggen14-Nov-16 3:49 
QuestionGaneric Class Define Pin
bestbear10-Nov-16 18:27
bestbear10-Nov-16 18:27 
AnswerRe: Ganeric Class Define Pin
leon de boer10-Nov-16 19:04
leon de boer10-Nov-16 19:04 
GeneralRe: Ganeric Class Define Pin
bestbear10-Nov-16 19:10
bestbear10-Nov-16 19:10 
GeneralRe: Ganeric Class Define Pin
leon de boer10-Nov-16 19:31
leon de boer10-Nov-16 19:31 
AnswerRe: Ganeric Class Define Pin
Stefan_Lang1-Dec-16 3:55
Stefan_Lang1-Dec-16 3:55 
QuestionSave the image from window buffer Pin
Onic77710-Nov-16 4:26
Onic77710-Nov-16 4:26 
Hello Experts!

There is a certain window, about which we know hDC & hWnd.
By the window is used function SwapBuffer(hDC). I understand that the double buffer, and that buffer contains a certain image that is drawn in the window.
Question!
Is it possible in any way to copy the contents of the buffer to a compatible Bitmap or Image for Saving it into graphic file format?
?

Regards,
Onic777
onic@inbox.ru
AnswerRe: Save the image from window buffer Pin
leon de boer10-Nov-16 16:10
leon de boer10-Nov-16 16:10 
QuestionERROR_INVALID_HANDLE returned From WaitForSingleObject after CreateMutex Pin
ForNow10-Nov-16 2:41
ForNow10-Nov-16 2:41 
AnswerRe: ERROR_INVALID_HANDLE returned From WaitForSingleObject after CreateMutex Pin
Chris Losinger10-Nov-16 3:07
professionalChris Losinger10-Nov-16 3:07 
GeneralRe: ERROR_INVALID_HANDLE returned From WaitForSingleObject after CreateMutex Pin
ForNow10-Nov-16 3:29
ForNow10-Nov-16 3:29 
AnswerRe: ERROR_INVALID_HANDLE returned From WaitForSingleObject after CreateMutex Pin
Randor 10-Nov-16 4:32
professional Randor 10-Nov-16 4:32 
GeneralRe: ERROR_INVALID_HANDLE returned From WaitForSingleObject after CreateMutex Pin
ForNow10-Nov-16 4:40
ForNow10-Nov-16 4:40 
GeneralRe: ERROR_INVALID_HANDLE returned From WaitForSingleObject after CreateMutex Pin
Richard MacCutchan10-Nov-16 4:50
mveRichard MacCutchan10-Nov-16 4:50 
GeneralRe: ERROR_INVALID_HANDLE returned From WaitForSingleObject after CreateMutex Pin
ForNow10-Nov-16 5:02
ForNow10-Nov-16 5:02 
GeneralRe: ERROR_INVALID_HANDLE returned From WaitForSingleObject after CreateMutex Pin
leon de boer10-Nov-16 8:25
leon de boer10-Nov-16 8:25 
GeneralRe: ERROR_INVALID_HANDLE returned From WaitForSingleObject after CreateMutex Pin
ForNow10-Nov-16 8:50
ForNow10-Nov-16 8:50 
GeneralRe: ERROR_INVALID_HANDLE returned From WaitForSingleObject after CreateMutex Pin
Randor 10-Nov-16 5:06
professional Randor 10-Nov-16 5:06 
AnswerRe: ERROR_INVALID_HANDLE returned From WaitForSingleObject after CreateMutex Pin
Albert Holguin10-Nov-16 7:32
professionalAlbert Holguin10-Nov-16 7:32 
GeneralRe: ERROR_INVALID_HANDLE returned From WaitForSingleObject after CreateMutex Pin
ForNow10-Nov-16 7:50
ForNow10-Nov-16 7:50 
GeneralRe: ERROR_INVALID_HANDLE returned From WaitForSingleObject after CreateMutex Pin
Albert Holguin10-Nov-16 7:58
professionalAlbert Holguin10-Nov-16 7:58 
GeneralRe: ERROR_INVALID_HANDLE returned From WaitForSingleObject after CreateMutex Pin
leon de boer10-Nov-16 8:38
leon de boer10-Nov-16 8:38 
GeneralRe: ERROR_INVALID_HANDLE returned From WaitForSingleObject after CreateMutex Pin
ForNow10-Nov-16 8:53
ForNow10-Nov-16 8:53 
QuestionDebug Assertion Failed error by WaitForMultipleObjectsEx in 64 bit application Pin
Member 123356959-Nov-16 20:27
Member 123356959-Nov-16 20:27 

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.