Click here to Skip to main content
15,915,508 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: switch to existing instance Pin
negativeG4-Mar-09 8:51
negativeG4-Mar-09 8:51 
GeneralRe: switch to existing instance Pin
led mike4-Mar-09 9:04
led mike4-Mar-09 9:04 
AnswerRe: switch to existing instance Pin
David Crow4-Mar-09 9:38
David Crow4-Mar-09 9:38 
GeneralRe: switch to existing instance Pin
negativeG5-Mar-09 7:58
negativeG5-Mar-09 7:58 
QuestionClipboard to jpeg using jpeglib Pin
alexhalt4-Mar-09 5:39
alexhalt4-Mar-09 5:39 
AnswerRe: Clipboard to jpeg using jpeglib Pin
Stuart Dootson4-Mar-09 6:12
professionalStuart Dootson4-Mar-09 6:12 
GeneralRe: Clipboard to jpeg using jpeglib Pin
alexhalt10-Mar-09 1:45
alexhalt10-Mar-09 1:45 
GeneralRe: Clipboard to jpeg using jpeglib Pin
Stuart Dootson10-Mar-09 2:02
professionalStuart Dootson10-Mar-09 2:02 
All I can suggest is that you build libjpeg for debug (i.e. include debug information), link your application to the debug library and step through jpeg_write_scanlines and find which line causes the access violation. You can then look at the variables associated with that line and see which pointer looks suspicious (NULL, probably!).

The other thing to try would be to verify that jsmpArray has been allocated correctly and that DibToSamps has completed successfully.

Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p

QuestionPing Using UDP Pin
tiger08064-Mar-09 5:00
tiger08064-Mar-09 5:00 
AnswerRe: Ping Using UDP [modified] Pin
Stuart Dootson4-Mar-09 5:52
professionalStuart Dootson4-Mar-09 5:52 
Question[Message Deleted] Pin
FISH7864-Mar-09 4:38
FISH7864-Mar-09 4:38 
AnswerRe: Powerbuilder to visual c++. Pin
Stuart Dootson4-Mar-09 5:49
professionalStuart Dootson4-Mar-09 5:49 
GeneralRe: Powerbuilder to visual c++. Pin
FISH7864-Mar-09 7:00
FISH7864-Mar-09 7:00 
GeneralRe: Powerbuilder to visual c++. Pin
Stuart Dootson4-Mar-09 7:06
professionalStuart Dootson4-Mar-09 7:06 
GeneralRe: Powerbuilder to visual c++. Pin
FISH7864-Mar-09 10:11
FISH7864-Mar-09 10:11 
QuestionCreating header - CListCtrl Pin
grassrootkit4-Mar-09 3:59
grassrootkit4-Mar-09 3:59 
AnswerRe: Creating header - CListCtrl Pin
Michael Schubert4-Mar-09 5:40
Michael Schubert4-Mar-09 5:40 
QuestionRe: Creating header - CListCtrl Pin
grassrootkit4-Mar-09 6:20
grassrootkit4-Mar-09 6:20 
AnswerRe: Creating header - CListCtrl Pin
Stuart Dootson4-Mar-09 6:25
professionalStuart Dootson4-Mar-09 6:25 
GeneralRe: Creating header - CListCtrl Pin
grassrootkit4-Mar-09 6:31
grassrootkit4-Mar-09 6:31 
GeneralRe: Creating header - CListCtrl Pin
grassrootkit4-Mar-09 6:33
grassrootkit4-Mar-09 6:33 
GeneralRe: Creating header - CListCtrl Pin
grassrootkit4-Mar-09 6:25
grassrootkit4-Mar-09 6:25 
QuestionFrom A FrameWindow Pin
grassrootkit4-Mar-09 3:37
grassrootkit4-Mar-09 3:37 
AnswerRe: From A FrameWindow Pin
Stuart Dootson4-Mar-09 5:45
professionalStuart Dootson4-Mar-09 5:45 
GeneralRe: From A FrameWindow Pin
grassrootkit4-Mar-09 6:14
grassrootkit4-Mar-09 6:14 

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.