Click here to Skip to main content
12,700,376 members (34,963 online)

C / C++ / MFC

 
GeneralRe: Does anyone know this c plus plus knowledge? Pin
yu-jian16-Jan-13 18:50
groupyu-jian16-Jan-13 18:50 
GeneralRe: Does anyone know this c plus plus knowledge? Pin
JackDingler17-Jan-13 6:15
memberJackDingler17-Jan-13 6:15 
Questiondeque problem. Does this code has any problem? [solved] Pin
yu-jian14-Jan-13 4:47
groupyu-jian14-Jan-13 4:47 
AnswerRe: deque problem. Does this code has any problem? Pin
CPallini14-Jan-13 7:59
mvpCPallini14-Jan-13 7:59 
GeneralRe: deque problem. Does this code has any problem? Pin
yu-jian14-Jan-13 14:50
groupyu-jian14-Jan-13 14:50 
GeneralRe: deque problem. Does this code has any problem? Pin
yu-jian14-Jan-13 17:02
groupyu-jian14-Jan-13 17:02 
QuestionCDC Problem with coordinates Pin
Argonia14-Jan-13 2:50
memberArgonia14-Jan-13 2:50 
AnswerRe: CDC Problem with coordinates Pin
Argonia14-Jan-13 22:39
memberArgonia14-Jan-13 22:39 
GeneralRe: CDC Problem with coordinates Pin
Vaclav_Sal15-Jan-13 10:53
memberVaclav_Sal15-Jan-13 10:53 
GeneralRe: CDC Problem with coordinates Pin
Argonia15-Jan-13 22:23
memberArgonia15-Jan-13 22:23 
QuestionDhcpRequestParams() Pin
Man in the mirror13-Jan-13 20:46
memberMan in the mirror13-Jan-13 20:46 
AnswerRe: DhcpRequestParams() Pin
Richard MacCutchan13-Jan-13 23:11
mvpRichard MacCutchan13-Jan-13 23:11 
QuestionSOLVED From HANDLE to BITMAPINFO - another basic question for gurus Pin
Vaclav_Sal13-Jan-13 6:30
memberVaclav_Sal13-Jan-13 6:30 
AnswerRe: From HANDLE to BITMAPINFO - another basic question for gurus Pin
Richard MacCutchan13-Jan-13 6:44
mvpRichard MacCutchan13-Jan-13 6:44 
// a DIB is in the clipboard, draw it out
GLOBALHANDLE      hGMem ;    // create a global handle
LPBITMAPINFO      lpBI ;     // a pointer to the resultant bitmap
void*             pDIBBits;  // a pointer to the contents of the bitmap

OpenClipboard() ;                   // open the clipboard
hGMem = GetClipboardData(CF_DIB) ;  // get a handle (pointer) to the data in the clipboard
ASSERT(hGMem);                      // make sure it is valid
TRACE("\nfills LPBITMAPINFO"); 
lpBI = (LPBITMAPINFO)GlobalLock(hGMem) ; // lock that memory block and return a pointer to the DIB

At this point you can copy the memory block pointed to by lpBI into your program's address space and process it as required. You should then unlock and release hGMem (which is a system resource), and release the clipboard so other applications can use it.
One of these days I'm going to think of a really clever signature.

GeneralRe: From HANDLE to BITMAPINFO - another basic question for gurus Pin
Vaclav_Sal13-Jan-13 7:08
memberVaclav_Sal13-Jan-13 7:08 
GeneralRe: From HANDLE to BITMAPINFO - another basic question for gurus Pin
Richard MacCutchan13-Jan-13 7:32
mvpRichard MacCutchan13-Jan-13 7:32 
QuestionHow to get detail error info from E_FAIL? Pin
Falconapollo11-Jan-13 22:23
memberFalconapollo11-Jan-13 22:23 
AnswerRe: How to get detail error info from E_FAIL? Pin
«_Superman_»12-Jan-13 0:43
member«_Superman_»12-Jan-13 0:43 
GeneralRe: How to get detail error info from E_FAIL? Pin
Falconapollo12-Jan-13 1:00
memberFalconapollo12-Jan-13 1:00 
GeneralRe: How to get detail error info from E_FAIL? Pin
Jochen Arndt13-Jan-13 22:05
memberJochen Arndt13-Jan-13 22:05 
AnswerRe: How to get detail error info from E_FAIL? Pin
Argonia14-Jan-13 3:01
memberArgonia14-Jan-13 3:01 
QuestionVideo Capture using DirectShow only works for first time.? Pin
mbatra3110-Jan-13 21:25
membermbatra3110-Jan-13 21:25 
AnswerRe: Video Capture using DirectShow only works for first time.? Pin
_AnsHUMAN_ 11-Jan-13 3:05
group_AnsHUMAN_ 11-Jan-13 3:05 
AnswerRe: Video Capture using DirectShow only works for first time.? Pin
Vaclav_Sal14-Jan-13 17:10
memberVaclav_Sal14-Jan-13 17:10 
Questionhow to unsigned int64 to two unsigned int32 values Pin
vishalgpt9-Jan-13 23:22
membervishalgpt9-Jan-13 23:22 
AnswerRe: how to unsigned int64 to two unsigned int32 values Pin
Jochen Arndt10-Jan-13 0:06
memberJochen Arndt10-Jan-13 0:06 
GeneralRe: how to unsigned int64 to two unsigned int32 values Pin
vishalgpt10-Jan-13 0:32
membervishalgpt10-Jan-13 0:32 
GeneralRe: how to unsigned int64 to two unsigned int32 values Pin
Jochen Arndt10-Jan-13 0:58
memberJochen Arndt10-Jan-13 0:58 
GeneralRe: how to unsigned int64 to two unsigned int32 values Pin
vishalgpt10-Jan-13 1:08
membervishalgpt10-Jan-13 1:08 
AnswerRe: [SOLVED] how to unsigned int64 to two unsigned int32 values Pin
«_Superman_»10-Jan-13 19:39
member«_Superman_»10-Jan-13 19:39 
GeneralRe: [SOLVED] how to unsigned int64 to two unsigned int32 values Pin
vishalgpt14-Jan-13 16:25
membervishalgpt14-Jan-13 16:25 
GeneralRe: [SOLVED] how to unsigned int64 to two unsigned int32 values Pin
«_Superman_»14-Jan-13 18:55
member«_Superman_»14-Jan-13 18:55 
GeneralRe: [SOLVED] how to unsigned int64 to two unsigned int32 values Pin
vishalgpt14-Jan-13 20:01
membervishalgpt14-Jan-13 20:01 
QuestionHTTP server in C. How to implement Keep-Alive? Pin
johanm_29-Jan-13 21:02
memberjohanm_29-Jan-13 21:02 
SuggestionRe: HTTP server in C. How to implement Keep-Alive? Pin
Richard MacCutchan9-Jan-13 23:24
mvpRichard MacCutchan9-Jan-13 23:24 
GeneralRe: HTTP server in C. How to implement Keep-Alive? Pin
johanm_210-Jan-13 2:17
memberjohanm_210-Jan-13 2:17 
QuestionProblem loading non-default wab Pin
Member 8689269-Jan-13 3:31
memberMember 8689269-Jan-13 3:31 
AnswerRe: Problem loading non-default wab Pin
Code-o-mat10-Jan-13 3:06
memberCode-o-mat10-Jan-13 3:06 
GeneralRe: Problem loading non-default wab Pin
Member 86892611-Jan-13 7:05
memberMember 86892611-Jan-13 7:05 
GeneralRe: Problem loading non-default wab Pin
Code-o-mat11-Jan-13 8:49
memberCode-o-mat11-Jan-13 8:49 
GeneralRe: Problem loading non-default wab Pin
Member 86892611-Jan-13 10:56
memberMember 86892611-Jan-13 10:56 
GeneralRe: Problem loading non-default wab Pin
Code-o-mat11-Jan-13 11:07
memberCode-o-mat11-Jan-13 11:07 
GeneralRe: Problem loading non-default wab Pin
Code-o-mat11-Jan-13 11:12
memberCode-o-mat11-Jan-13 11:12 
GeneralRe: Problem loading non-default wab Pin
Member 86892612-Jan-13 5:17
memberMember 86892612-Jan-13 5:17 
GeneralRe: Problem loading non-default wab Pin
Code-o-mat12-Jan-13 9:09
memberCode-o-mat12-Jan-13 9:09 
QuestionRe: Problem loading non-default wab Pin
Richard MacCutchan11-Jan-13 7:41
mvpRichard MacCutchan11-Jan-13 7:41 
AnswerRe: Problem loading non-default wab Pin
Member 86892611-Jan-13 10:53
memberMember 86892611-Jan-13 10:53 
GeneralRe: Problem loading non-default wab Pin
Richard MacCutchan12-Jan-13 0:17
mvpRichard MacCutchan12-Jan-13 0:17 
GeneralRe: Problem loading non-default wab Pin
Member 86892612-Jan-13 5:06
memberMember 86892612-Jan-13 5:06 
GeneralRe: Problem loading non-default wab Pin
Richard MacCutchan12-Jan-13 5:20
mvpRichard MacCutchan12-Jan-13 5: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.


Advertise | Privacy | Mobile
Web02 | 2.8.170118.1 | Last Updated 20 Jan 2017
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid