Click here to Skip to main content
15,889,609 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Is there anyway to make SEH works when stask is broken Pin
Rolf Kristensen8-Feb-09 10:23
Rolf Kristensen8-Feb-09 10:23 
GeneralRe: Is there anyway to make SEH works when stask is broken Pin
Tal Rasha's Guardianship22-Feb-09 16:28
Tal Rasha's Guardianship22-Feb-09 16:28 
QuestionHelp Repainting with GDI+ in C++ Pin
AntiBNI7-Feb-09 12:05
AntiBNI7-Feb-09 12:05 
AnswerRe: Help Repainting with GDI+ in C++ Pin
Stuart Dootson7-Feb-09 22:57
professionalStuart Dootson7-Feb-09 22:57 
GeneralRe: Help Repainting with GDI+ in C++ Pin
AntiBNI8-Feb-09 2:24
AntiBNI8-Feb-09 2:24 
QuestionMFC Combo Box Pin
VarwigDude7-Feb-09 8:22
VarwigDude7-Feb-09 8:22 
AnswerRe: MFC Combo Box Pin
Stuart Dootson7-Feb-09 23:00
professionalStuart Dootson7-Feb-09 23:00 
QuestionHow to convert jpg image to rgb Pin
simon alec smith7-Feb-09 5:49
simon alec smith7-Feb-09 5:49 
Hello,

I have managed to pull a program from one of the articles
that displays an image(jpg)

I have added the following code to get each pixel on the screen

COLORREF color = pDC->GetPixel(x,y);
colorNo = (int)GetRValue(color); //Then write values to file for rgb


I then create another program to gather what has been writen
to file and then display it.

Unfortunatly what is displayed is a 'carpet like image'
I understand that the return value for GetRValue is a byte
so I have casted this.

Can any body know why I am having problems.
Is there any good programs for this?

I am doing this for game purposes, eventualy I would like to get into 3d graphics
what programs do the pro's do to save theirs

Please can anybody enlighten me.

cheers Simon

modified on Saturday, February 7, 2009 11:57 AM

GeneralWord Capture Pin
Swapnil Shah7-Feb-09 0:18
Swapnil Shah7-Feb-09 0:18 
AnswerRe: Word Capture Pin
Rajesh R Subramanian7-Feb-09 5:30
professionalRajesh R Subramanian7-Feb-09 5:30 
QuestionRe: Word Capture Pin
Swapnil Shah7-Feb-09 8:10
Swapnil Shah7-Feb-09 8:10 
AnswerRe: Word Capture Pin
Rajesh R Subramanian7-Feb-09 19:25
professionalRajesh R Subramanian7-Feb-09 19:25 
GeneralRe: Word Capture Pin
Swapnil Shah8-Feb-09 4:44
Swapnil Shah8-Feb-09 4:44 
GeneralRe: Word Capture Pin
Rajesh R Subramanian10-Feb-09 3:49
professionalRajesh R Subramanian10-Feb-09 3:49 
GeneralRe: Word Capture Pin
onlyjaypatel9-Oct-09 1:32
onlyjaypatel9-Oct-09 1:32 
GeneralRe: Word Capture Pin
Rajesh R Subramanian9-Oct-09 19:14
professionalRajesh R Subramanian9-Oct-09 19:14 
QuestionMultilingual application using vc++.net in visual studio 2005 Pin
Purish Dwivedi6-Feb-09 18:27
Purish Dwivedi6-Feb-09 18:27 
AnswerRe: Multilingual application using vc++.net in visual studio 2005 Pin
Hamid_RT6-Feb-09 20:27
Hamid_RT6-Feb-09 20:27 
GeneralRe: Multilingual application using vc++.net in visual studio 2005 Pin
Purish Dwivedi6-Feb-09 21:32
Purish Dwivedi6-Feb-09 21:32 
GeneralRe: Multilingual application using vc++.net in visual studio 2005 Pin
Hamid_RT7-Feb-09 8:09
Hamid_RT7-Feb-09 8:09 
QuestionError of database "String data, right truncated" Pin
Le@rner6-Feb-09 17:39
Le@rner6-Feb-09 17:39 
AnswerRe: Error of database "String data, right truncated" Pin
Hamid_RT6-Feb-09 20:34
Hamid_RT6-Feb-09 20:34 
AnswerRe: Error of database "String data, right truncated" Pin
Stuart Dootson6-Feb-09 20:55
professionalStuart Dootson6-Feb-09 20:55 
AnswerRe: Error of database "String data, right truncated" Pin
Rajesh R Subramanian7-Feb-09 5:28
professionalRajesh R Subramanian7-Feb-09 5:28 
Questionsystem() not working (in C) Pin
Gjm6-Feb-09 13:23
Gjm6-Feb-09 13:23 

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.