Click here to Skip to main content
15,559,699 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: deque problem. Does this code has any problem? Pin
yu-jian14-Jan-13 17:02
yu-jian14-Jan-13 17:02 
QuestionCDC Problem with coordinates Pin
Argonia14-Jan-13 2:50
professionalArgonia14-Jan-13 2:50 
AnswerRe: CDC Problem with coordinates Pin
Argonia14-Jan-13 22:39
professionalArgonia14-Jan-13 22:39 
GeneralRe: CDC Problem with coordinates Pin
Vaclav_15-Jan-13 10:53
Vaclav_15-Jan-13 10:53 
GeneralRe: CDC Problem with coordinates Pin
Argonia15-Jan-13 22:23
professionalArgonia15-Jan-13 22:23 
QuestionDhcpRequestParams() Pin
Man in the mirror13-Jan-13 20:46
Man in the mirror13-Jan-13 20:46 
AnswerRe: DhcpRequestParams() Pin
Richard MacCutchan13-Jan-13 23:11
mveRichard MacCutchan13-Jan-13 23:11 
QuestionSOLVED From HANDLE to BITMAPINFO - another basic question for gurus Pin
Vaclav_13-Jan-13 6:30
Vaclav_13-Jan-13 6:30 
<pre lang="text">Found this very useful piece of code to get bitmap info from handle and would like to know HOW it works.
I think if I get how the LPBITAMPINFO gets filled I probably will also understand why using global handle is necessary. Or maybe not.</pre>

// a DIB is in the clipboard, draw it out
GLOBALHANDLE hGMem ;
LPBITMAPINFO lpBI ;
void* pDIBBits;
OpenClipboard() ;
hGMem = GetClipboardData(CF_DIB) ;
ASSERT(hGMem);
TRACE("\nfills LPBITMAPINFO");
lpBI = (LPBITMAPINFO)GlobalLock(hGMem) ;

Appreciate any help.
CHeers Vaclav

-- modified 15-Jan-13 15:54pm.
AnswerRe: From HANDLE to BITMAPINFO - another basic question for gurus Pin
Richard MacCutchan13-Jan-13 6:44
mveRichard MacCutchan13-Jan-13 6:44 
GeneralRe: From HANDLE to BITMAPINFO - another basic question for gurus Pin
Vaclav_13-Jan-13 7:08
Vaclav_13-Jan-13 7:08 
GeneralRe: From HANDLE to BITMAPINFO - another basic question for gurus Pin
Richard MacCutchan13-Jan-13 7:32
mveRichard MacCutchan13-Jan-13 7:32 
QuestionHow to get detail error info from E_FAIL? Pin
Falconapollo11-Jan-13 22:23
Falconapollo11-Jan-13 22:23 
AnswerRe: How to get detail error info from E_FAIL? Pin
«_Superman_»12-Jan-13 0:43
professional«_Superman_»12-Jan-13 0:43 
GeneralRe: How to get detail error info from E_FAIL? Pin
Falconapollo12-Jan-13 1:00
Falconapollo12-Jan-13 1:00 
GeneralRe: How to get detail error info from E_FAIL? Pin
Jochen Arndt13-Jan-13 22:05
professionalJochen Arndt13-Jan-13 22:05 
AnswerRe: How to get detail error info from E_FAIL? Pin
Argonia14-Jan-13 3:01
professionalArgonia14-Jan-13 3:01 
QuestionVideo Capture using DirectShow only works for first time.? Pin
mbatra3110-Jan-13 21:25
mbatra3110-Jan-13 21:25 
AnswerRe: Video Capture using DirectShow only works for first time.? Pin
_AnsHUMAN_ 11-Jan-13 3:05
_AnsHUMAN_ 11-Jan-13 3:05 
AnswerRe: Video Capture using DirectShow only works for first time.? Pin
Vaclav_14-Jan-13 17:10
Vaclav_14-Jan-13 17:10 
Questionhow to unsigned int64 to two unsigned int32 values Pin
vishalgpt9-Jan-13 23:22
vishalgpt9-Jan-13 23:22 
AnswerRe: how to unsigned int64 to two unsigned int32 values Pin
Jochen Arndt10-Jan-13 0:06
professionalJochen Arndt10-Jan-13 0:06 
GeneralRe: how to unsigned int64 to two unsigned int32 values Pin
vishalgpt10-Jan-13 0:32
vishalgpt10-Jan-13 0:32 
GeneralRe: how to unsigned int64 to two unsigned int32 values Pin
Jochen Arndt10-Jan-13 0:58
professionalJochen Arndt10-Jan-13 0:58 
GeneralRe: how to unsigned int64 to two unsigned int32 values Pin
vishalgpt10-Jan-13 1:08
vishalgpt10-Jan-13 1:08 
AnswerRe: [SOLVED] how to unsigned int64 to two unsigned int32 values Pin
«_Superman_»10-Jan-13 19:39
professional«_Superman_»10-Jan-13 19:39 

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.