Click here to Skip to main content
16,005,339 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: fscanf access violation problem Pin
simaneal30-Jun-05 7:21
simaneal30-Jun-05 7:21 
GeneralRe: fscanf access violation problem Pin
David Crow30-Jun-05 7:53
David Crow30-Jun-05 7:53 
GeneralRe: fscanf access violation problem Pin
simaneal30-Jun-05 10:28
simaneal30-Jun-05 10:28 
GeneralRe: fscanf access violation problem Pin
David Crow30-Jun-05 10:35
David Crow30-Jun-05 10:35 
GeneralRe: fscanf access violation problem Pin
simaneal30-Jun-05 10:58
simaneal30-Jun-05 10:58 
GeneralRe: fscanf access violation problem Pin
David Crow30-Jun-05 16:47
David Crow30-Jun-05 16:47 
GeneralRe: fscanf access violation problem Pin
simaneal5-Jul-05 3:13
simaneal5-Jul-05 3:13 
GeneralRe: fscanf access violation problem Pin
David Crow5-Jul-05 3:29
David Crow5-Jul-05 3:29 
Since your code is only allocating about 1400 bytes from the heap, I doubt very seriously that's the problem. You might want to comment out just the initialization code and see what that does. If it starts working, that would indicate that the initialization code is writing past one of the three arrays, and messing with memory that fscanf() is later using. Are there any other places that write to pix1, pixm1, or pixhigh1?

Also, why are the printf() and exit() calls preceeded with void?


"Ideas are a dime a dozen. People who put them into action are priceless." - Unknown


GeneralRe: fscanf access violation problem Pin
simaneal5-Jul-05 7:50
simaneal5-Jul-05 7:50 
GeneralRe: fscanf access violation problem Pin
simaneal5-Jul-05 7:45
simaneal5-Jul-05 7:45 
GeneralRe: fscanf access violation problem Pin
David Crow5-Jul-05 8:26
David Crow5-Jul-05 8:26 
GeneralFillBuffer Pin
Andrew Admire23-Jun-05 8:16
Andrew Admire23-Jun-05 8:16 
GeneralRe: FillBuffer Pin
David Crow23-Jun-05 8:18
David Crow23-Jun-05 8:18 
GeneralRe: FillBuffer Pin
Andrew Admire23-Jun-05 8:22
Andrew Admire23-Jun-05 8:22 
GeneralRe: FillBuffer Pin
David Crow23-Jun-05 9:22
David Crow23-Jun-05 9:22 
GeneralRe: FillBuffer Pin
Andrew Admire23-Jun-05 9:30
Andrew Admire23-Jun-05 9:30 
GeneralRe: FillBuffer Pin
David Crow23-Jun-05 9:33
David Crow23-Jun-05 9:33 
GeneralRe: FillBuffer Pin
Andrew Admire23-Jun-05 9:38
Andrew Admire23-Jun-05 9:38 
GeneralRe: FillBuffer Pin
David Crow23-Jun-05 9:43
David Crow23-Jun-05 9:43 
GeneralRe: FillBuffer Pin
Andrew Admire23-Jun-05 9:45
Andrew Admire23-Jun-05 9:45 
Generalclass referencing problem Pin
zildjohn0123-Jun-05 7:40
zildjohn0123-Jun-05 7:40 
GeneralRe: class referencing problem Pin
Chris Losinger23-Jun-05 7:42
professionalChris Losinger23-Jun-05 7:42 
GeneralRe: class referencing problem Pin
John Simon23-Jun-05 7:52
John Simon23-Jun-05 7:52 
GeneralRe: class referencing problem Pin
Jose Lamas Rios23-Jun-05 7:48
Jose Lamas Rios23-Jun-05 7:48 
Generalnew problem Pin
John Simon23-Jun-05 9:35
John Simon23-Jun-05 9:35 

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.