Click here to Skip to main content
15,886,873 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: deque problem. Does this code has any problem? Pin
yu-jian14-Jan-13 16:02
yu-jian14-Jan-13 16:02 
QuestionCDC Problem with coordinates Pin
Argonia14-Jan-13 1:50
professionalArgonia14-Jan-13 1:50 
AnswerRe: CDC Problem with coordinates Pin
Argonia14-Jan-13 21:39
professionalArgonia14-Jan-13 21:39 
GeneralRe: CDC Problem with coordinates Pin
Vaclav_15-Jan-13 9:53
Vaclav_15-Jan-13 9:53 
GeneralRe: CDC Problem with coordinates Pin
Argonia15-Jan-13 21:23
professionalArgonia15-Jan-13 21:23 
QuestionDhcpRequestParams() Pin
Man in the mirror13-Jan-13 19:46
Man in the mirror13-Jan-13 19:46 
AnswerRe: DhcpRequestParams() Pin
Richard MacCutchan13-Jan-13 22:11
mveRichard MacCutchan13-Jan-13 22:11 
QuestionSOLVED From HANDLE to BITMAPINFO - another basic question for gurus Pin
Vaclav_13-Jan-13 5:30
Vaclav_13-Jan-13 5: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 5:44
mveRichard MacCutchan13-Jan-13 5:44 
GeneralRe: From HANDLE to BITMAPINFO - another basic question for gurus Pin
Vaclav_13-Jan-13 6:08
Vaclav_13-Jan-13 6:08 
GeneralRe: From HANDLE to BITMAPINFO - another basic question for gurus Pin
Richard MacCutchan13-Jan-13 6:32
mveRichard MacCutchan13-Jan-13 6:32 
QuestionHow to get detail error info from E_FAIL? Pin
Falconapollo11-Jan-13 21:23
Falconapollo11-Jan-13 21:23 
AnswerRe: How to get detail error info from E_FAIL? Pin
«_Superman_»11-Jan-13 23:43
professional«_Superman_»11-Jan-13 23:43 
GeneralRe: How to get detail error info from E_FAIL? Pin
Falconapollo12-Jan-13 0:00
Falconapollo12-Jan-13 0:00 
GeneralRe: How to get detail error info from E_FAIL? Pin
Jochen Arndt13-Jan-13 21:05
professionalJochen Arndt13-Jan-13 21:05 
AnswerRe: How to get detail error info from E_FAIL? Pin
Argonia14-Jan-13 2:01
professionalArgonia14-Jan-13 2:01 
QuestionVideo Capture using DirectShow only works for first time.? Pin
mbatra3110-Jan-13 20:25
mbatra3110-Jan-13 20:25 
AnswerRe: Video Capture using DirectShow only works for first time.? Pin
_AnsHUMAN_ 11-Jan-13 2:05
_AnsHUMAN_ 11-Jan-13 2:05 
AnswerRe: Video Capture using DirectShow only works for first time.? Pin
Vaclav_14-Jan-13 16:10
Vaclav_14-Jan-13 16:10 
Questionhow to unsigned int64 to two unsigned int32 values Pin
vishalgpt9-Jan-13 22:22
vishalgpt9-Jan-13 22:22 
AnswerRe: how to unsigned int64 to two unsigned int32 values Pin
Jochen Arndt9-Jan-13 23:06
professionalJochen Arndt9-Jan-13 23:06 
GeneralRe: how to unsigned int64 to two unsigned int32 values Pin
vishalgpt9-Jan-13 23:32
vishalgpt9-Jan-13 23:32 
GeneralRe: how to unsigned int64 to two unsigned int32 values Pin
Jochen Arndt9-Jan-13 23:58
professionalJochen Arndt9-Jan-13 23:58 
GeneralRe: how to unsigned int64 to two unsigned int32 values Pin
vishalgpt10-Jan-13 0:08
vishalgpt10-Jan-13 0:08 
AnswerRe: [SOLVED] how to unsigned int64 to two unsigned int32 values Pin
«_Superman_»10-Jan-13 18:39
professional«_Superman_»10-Jan-13 18: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.