Click here to Skip to main content
15,918,596 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Application that handles 200 000+ Lines? Pin
basementman25-Jun-03 5:11
basementman25-Jun-03 5:11 
QuestionDrawing without flicker? Pin
Aidman24-Jun-03 15:25
Aidman24-Jun-03 15:25 
AnswerRe: Drawing without flicker? Pin
John M. Drescher24-Jun-03 15:45
John M. Drescher24-Jun-03 15:45 
AnswerRe: Drawing without flicker? Pin
Dave Bryant24-Jun-03 15:46
Dave Bryant24-Jun-03 15:46 
GeneralRe: Drawing without flicker? Pin
Aidman24-Jun-03 15:51
Aidman24-Jun-03 15:51 
GeneralRe: Drawing without flicker? Pin
John M. Drescher24-Jun-03 15:54
John M. Drescher24-Jun-03 15:54 
GeneralRe: Drawing without flicker? Pin
Aidman24-Jun-03 15:59
Aidman24-Jun-03 15:59 
GeneralRe: Drawing without flicker? Pin
J. Dunlap24-Jun-03 16:12
J. Dunlap24-Jun-03 16:12 
GeneralRe: Drawing without flicker? Pin
Ryan Binns24-Jun-03 16:13
Ryan Binns24-Jun-03 16:13 
GeneralRe: Drawing without flicker? Pin
John M. Drescher24-Jun-03 16:19
John M. Drescher24-Jun-03 16:19 
GeneralRe: Drawing without flicker? Pin
Ryan Binns24-Jun-03 16:21
Ryan Binns24-Jun-03 16:21 
Generalplay avi file and install codec for it Pin
Mohsen Saad24-Jun-03 15:17
Mohsen Saad24-Jun-03 15:17 
GeneralHelp!! CHTMLView inside CDialog Pin
crewchill24-Jun-03 14:09
crewchill24-Jun-03 14:09 
GeneralRe: Help!! CHTMLView inside CDialog Pin
Joan M24-Jun-03 20:34
professionalJoan M24-Jun-03 20:34 
GeneralRe: Help!! CHTMLView inside CDialog Pin
crewchill24-Jun-03 21:21
crewchill24-Jun-03 21:21 
GeneralLots'o'data... Pin
el davo24-Jun-03 13:25
el davo24-Jun-03 13:25 
GeneralRe: Lots'o'data... Pin
Dave Bryant24-Jun-03 14:34
Dave Bryant24-Jun-03 14:34 
QuestionWhat's wrong with this code? Pin
Jonathan Gilligan24-Jun-03 12:38
Jonathan Gilligan24-Jun-03 12:38 
AnswerRe: What's wrong with this code? Pin
Dave Bryant24-Jun-03 12:43
Dave Bryant24-Jun-03 12:43 
AnswerRe: What's wrong with this code? Pin
ZoogieZork24-Jun-03 14:11
ZoogieZork24-Jun-03 14:11 
GeneralRe: What's wrong with this code? Pin
Jonathan Gilligan25-Jun-03 5:20
Jonathan Gilligan25-Jun-03 5:20 
Generalfopen Pin
cnd1200124-Jun-03 11:11
cnd1200124-Jun-03 11:11 
GeneralRe: fopen Pin
Neville Franks24-Jun-03 11:44
Neville Franks24-Jun-03 11:44 
Hi Alex,
You aren't testing whether the second fclose() succeeds. It may be that the value of fp has been trashed by your for loops. You could printf fp after the close or better still inspect it in the debugger.

Your code hasn't displayed correctly because < and/or > signs are missing. You need to use the Formatting bar to add these.

I'd try remove the code between the fopen/fclose and repeat the test and see what happens. Also inspect why the fopen is failing more closely. perror() might be of use here and the CRT global errno.

Hope that helps.

Neville Franks, Author of ED for Windows. Free Trial at www.getsoft.com
GeneralRe: fopen Pin
cnd1200125-Jun-03 22:08
cnd1200125-Jun-03 22:08 
GeneralOld School Help Needed Pin
juglugs24-Jun-03 10:44
juglugs24-Jun-03 10:44 

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.