Click here to Skip to main content
15,920,217 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralAvoiding the windows error messageboxes to appear when WriteFile, CopyFile... and disk is removed Pin
Joan M12-May-01 0:44
professionalJoan M12-May-01 0:44 
GeneralRe: Avoiding the windows error messageboxes to appear when WriteFile, CopyFile... and disk is removed Pin
Tomasz Sowinski12-May-01 1:46
Tomasz Sowinski12-May-01 1:46 
Questionhow to convert a _variant_t to recordset in vc++? Pin
11-May-01 23:01
suss11-May-01 23:01 
AnswerRe: how to convert a _variant_t to recordset in vc++? Pin
chenzhu12-May-01 3:18
chenzhu12-May-01 3:18 
GeneralRe: how to convert a _variant_t to recordset in vc++? Pin
13-May-01 0:07
suss13-May-01 0:07 
Questionhow to PtinLine Function? Pin
11-May-01 17:00
suss11-May-01 17:00 
AnswerRe: how to PtinLine Function? Pin
Christian Graus12-May-01 2:55
protectorChristian Graus12-May-01 2:55 
GeneralglReadPixels() Help! Pin
11-May-01 16:52
suss11-May-01 16:52 
Hello, I am not familiar with OpenGL and its API, but I was wondering how I would go about using the function glReadPixels()? Yes, yes, I have looked at all of the declarations for it as MSDN, etc., but I still am I not sure how to utilize it. In order to use the function, must I intialize a bunch of OpenGL things as I would for DirectDraw? How would I incorporate this function in a Win32 program that reads the color values of pixels in a game running in OpenGL? Also, once pixel data is retrieved, say with the GL_RGB flag (or any other one for that matter. I'm not too familiar in which mode to use), how do I access the color information of the pixels? Is it stored in hexademical, etc? If possible, it would to great to have example code showing how to use glReadPixels(). Thank you very much in advance.


-Helpless programmer
GeneralRe: glReadPixels() Help! Pin
l a u r e n11-May-01 21:16
l a u r e n11-May-01 21:16 
GeneralRe: glReadPixels() Help! Pin
Jonathan de Halleux30-Oct-01 1:23
Jonathan de Halleux30-Oct-01 1:23 
GeneralCDROM drive Pin
Cathy11-May-01 14:07
Cathy11-May-01 14:07 
GeneralRe: CDROM drive Pin
Michael Dunn11-May-01 14:29
sitebuilderMichael Dunn11-May-01 14:29 
GeneralRe: CDROM drive Pin
Cathy11-May-01 14:32
Cathy11-May-01 14:32 
GeneralRe: CDROM drive Pin
netsky12-May-01 23:03
netsky12-May-01 23:03 
GeneralTip on switch/case Pin
Andrew Peace13-May-01 13:18
Andrew Peace13-May-01 13:18 
GeneralInput box on toolbar Pin
Richard Cheng11-May-01 12:54
Richard Cheng11-May-01 12:54 
GeneralRe: Input box on toolbar Pin
Michael Dunn11-May-01 14:32
sitebuilderMichael Dunn11-May-01 14:32 
GeneralCRgn::DeleteObject Pin
WynApse11-May-01 10:54
WynApse11-May-01 10:54 
GeneralRe: CRgn::DeleteObject Pin
Igor Sukhov13-May-01 5:16
Igor Sukhov13-May-01 5:16 
GeneralRe: CRgn::DeleteObject Pin
WynApse13-May-01 6:43
WynApse13-May-01 6:43 
GeneralRe: CRgn::DeleteObject Pin
Andrew Peace13-May-01 13:25
Andrew Peace13-May-01 13:25 
GeneralExcute program from a memory block Pin
11-May-01 9:57
suss11-May-01 9:57 
GeneralRe: Excute program from a memory block Pin
Andrew Peace13-May-01 13:28
Andrew Peace13-May-01 13:28 
GeneralCRecordset GetRecordCount Pin
Dave Carkeet11-May-01 9:14
Dave Carkeet11-May-01 9:14 
GeneralRe: CRecordset GetRecordCount Pin
Tomasz Sowinski11-May-01 9:30
Tomasz Sowinski11-May-01 9:30 

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.