Click here to Skip to main content
16,009,238 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: popup menu in a listbox Pin
Sarath C13-Jun-06 17:38
Sarath C13-Jun-06 17:38 
AnswerRe: popup menu in a listbox Pin
Hamid_RT13-Jun-06 19:41
Hamid_RT13-Jun-06 19:41 
AnswerRe: popup menu in a listbox Pin
Hamid_RT13-Jun-06 20:09
Hamid_RT13-Jun-06 20:09 
AnswerRe: popup menu in a listbox Pin
Hamid_RT14-Jun-06 19:12
Hamid_RT14-Jun-06 19:12 
QuestionFind a certain text string on the IE's current loaded webpage Pin
Joseph Lee13-Jun-06 15:13
Joseph Lee13-Jun-06 15:13 
AnswerRe: Find a certain text string on the IE's current loaded webpage Pin
Ganesh_T13-Jun-06 18:55
Ganesh_T13-Jun-06 18:55 
AnswerRe: Find a certain text string on the IE's current loaded webpage Pin
Laxman Auti13-Jun-06 18:55
Laxman Auti13-Jun-06 18:55 
QuestionopenGL,memory leak with glDrawPixels Pin
leon913-Jun-06 14:16
leon913-Jun-06 14:16 
Hello everyone,

Im displaying a captured image onto the the screen. I use the following code to display the image.
<br />
void draw()<br />
{<br />
   if(m_imageData == NULL)<br />
	return;<br />
   glPixelStorei(GL_UNPACK_ALIGNMENT,1);<br />
   glRasterPos2i(m_xOffset,m_yOffset);<br />
   glDrawPixels(m_width,m_height,GL_RGBA,GL_UNSIGNED_BYTE,m_imageData);<br />
   glFlush();<br />
}<br />


the fuction draws the image ok but the glDrawPixels function creates a memory leak. Does anyone know a work around glDrawPixels or a way to track the memory leak (don't know if it's possible on my end since it's a openGL function).

Thank's everyone
Questioncolor change Pin
sidkraft13-Jun-06 14:09
sidkraft13-Jun-06 14:09 
AnswerRe: color change Pin
Sarath C13-Jun-06 17:49
Sarath C13-Jun-06 17:49 
AnswerRe: color change Pin
Hamid_RT13-Jun-06 19:39
Hamid_RT13-Jun-06 19:39 
QuestionAbout manifest Pin
angelfirefox13-Jun-06 13:46
angelfirefox13-Jun-06 13:46 
QuestionUnmanaged Threading Pin
Chris J13-Jun-06 10:49
Chris J13-Jun-06 10:49 
AnswerRe: Unmanaged Threading Pin
led mike13-Jun-06 10:59
led mike13-Jun-06 10:59 
GeneralRe: Unmanaged Threading Pin
Jun Du13-Jun-06 12:25
Jun Du13-Jun-06 12:25 
GeneralRe: Unmanaged Threading Pin
Graham Bradshaw13-Jun-06 12:33
Graham Bradshaw13-Jun-06 12:33 
GeneralRe: Unmanaged Threading Pin
Joe Woodbury13-Jun-06 13:07
professionalJoe Woodbury13-Jun-06 13:07 
GeneralRe: Unmanaged Threading Pin
Arvind Bharti13-Jun-06 20:23
Arvind Bharti13-Jun-06 20:23 
GeneralRe: Unmanaged Threading Pin
Joe Woodbury13-Jun-06 21:19
professionalJoe Woodbury13-Jun-06 21:19 
GeneralRe: Unmanaged Threading Pin
Sarath C13-Jun-06 19:40
Sarath C13-Jun-06 19:40 
GeneralRe: Unmanaged Threading Pin
Jun Du14-Jun-06 4:15
Jun Du14-Jun-06 4:15 
QuestionCButton, BS_BITMAP, LoadImage Issue and Question. Pin
Maximilien13-Jun-06 10:38
Maximilien13-Jun-06 10:38 
QuestionRe: CButton, BS_BITMAP, LoadImage Issue and Question. Pin
David Crow13-Jun-06 10:43
David Crow13-Jun-06 10:43 
QuestionWriteConsole() problem Pin
CoffeeAddict1913-Jun-06 10:00
CoffeeAddict1913-Jun-06 10:00 
QuestionRe: WriteConsole() problem Pin
David Crow13-Jun-06 10:06
David Crow13-Jun-06 10:06 

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.