Click here to Skip to main content
11,477,007 members (74,070 online)

ATL / WTL / STL

 
QuestionWhy does this fail - CFile / SeekToEnd? [modified] Pin
charlieg10-Oct-12 7:43
membercharlieg10-Oct-12 7:43 
AnswerRe: Why does this fail - CFile / SeekToEnd? Pin
charlieg10-Oct-12 10:31
membercharlieg10-Oct-12 10:31 
Okay, I made one change. Just prior to the .Close, I now invoke .Flush().

The main difference between my environment and the old environment is that my laptop is much faster with a solid state disk. Is it possible that there is a race condition inside of CFile? Seems like I'm grasping at straws.
Charlie Gilley
You're going to tell me what I want to know, or I'm going to beat you to death in your own house.

"Where liberty dwells, there is my country." B. Franklin, 1783
“They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759


AnswerRe: Why does this fail - CFile / SeekToEnd? Pin
Andrew Cherednik10-Oct-12 12:23
memberAndrew Cherednik10-Oct-12 12:23 
GeneralRe: Why does this fail - CFile / SeekToEnd? Pin
charlieg11-Oct-12 3:20
membercharlieg11-Oct-12 3:20 
AnswerRe: Why does this fail - CFile / SeekToEnd? Pin
Richard MacCutchan10-Oct-12 22:45
mvpRichard MacCutchan10-Oct-12 22:45 
GeneralRe: Why does this fail - CFile / SeekToEnd? Pin
charlieg11-Oct-12 3:30
membercharlieg11-Oct-12 3:30 
GeneralRe: Why does this fail - CFile / SeekToEnd? Pin
charlieg11-Oct-12 5:53
membercharlieg11-Oct-12 5:53 
GeneralRe: Why does this fail - CFile / SeekToEnd? Pin
Richard MacCutchan11-Oct-12 12:19
mvpRichard MacCutchan11-Oct-12 12:19 
GeneralRe: Why does this fail - CFile / SeekToEnd? Pin
charlieg11-Oct-12 12:34
membercharlieg11-Oct-12 12:34 
GeneralRe: Why does this fail - CFile / SeekToEnd? Pin
Richard MacCutchan11-Oct-12 13:01
mvpRichard MacCutchan11-Oct-12 13:01 
GeneralRe: Why does this fail - CFile / SeekToEnd? Pin
charlieg12-Oct-12 6:54
membercharlieg12-Oct-12 6:54 
AnswerRe: Why does this fail - CFile / SeekToEnd? Pin
Stephen Hewitt11-Oct-12 13:58
memberStephen Hewitt11-Oct-12 13:58 
AnswerRe: Why does this fail - CFile / SeekToEnd? Pin
charlieg18-Jan-13 2:47
membercharlieg18-Jan-13 2:47 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web03 | 2.8.150520.1 | Last Updated 19 May 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid