Click here to Skip to main content
15,891,739 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Read a file on click event Pin
Nishad S15-Oct-07 20:41
Nishad S15-Oct-07 20:41 
GeneralRe: Read a file on click event Pin
CodingLover15-Oct-07 20:57
CodingLover15-Oct-07 20:57 
GeneralRe: Read a file on click event Pin
Nishad S15-Oct-07 21:03
Nishad S15-Oct-07 21:03 
GeneralRe: Read a file on click event Pin
CodingLover15-Oct-07 21:14
CodingLover15-Oct-07 21:14 
GeneralRe: Read a file on click event Pin
Nishad S15-Oct-07 21:33
Nishad S15-Oct-07 21:33 
GeneralRe: Read a file on click event Pin
CodingLover15-Oct-07 21:40
CodingLover15-Oct-07 21:40 
GeneralRe: Read a file on click event Pin
chandu00415-Oct-07 21:44
chandu00415-Oct-07 21:44 
GeneralRe: Read a file on click event Pin
Nishad S15-Oct-07 22:44
Nishad S15-Oct-07 22:44 
Eranga Thennakoon wrote:
Actually file is open on previous click event.


After that you write the value? If so the file pointer is at the end of content, right? Then you have to reset it to initial position. In the case of CFile, you can use SeekToBegin API


- NS -

GeneralRe: Read a file on click event Pin
CodingLover15-Oct-07 22:47
CodingLover15-Oct-07 22:47 
GeneralRe: Read a file on click event Pin
Nishad S15-Oct-07 23:55
Nishad S15-Oct-07 23:55 
GeneralRe: Read a file on click event Pin
CodingLover16-Oct-07 0:09
CodingLover16-Oct-07 0:09 
GeneralRe: Read a file on click event Pin
chandu00416-Oct-07 0:14
chandu00416-Oct-07 0:14 
GeneralRe: Read a file on click event Pin
CodingLover16-Oct-07 0:15
CodingLover16-Oct-07 0:15 
GeneralRe: Read a file on click event Pin
Nishad S16-Oct-07 1:14
Nishad S16-Oct-07 1:14 
GeneralRe: Read a file on click event Pin
CodingLover16-Oct-07 1:22
CodingLover16-Oct-07 1:22 
GeneralRe: Read a file on click event Pin
Nishad S16-Oct-07 1:37
Nishad S16-Oct-07 1:37 
GeneralRe: Read a file on click event Pin
CodingLover16-Oct-07 1:41
CodingLover16-Oct-07 1:41 
GeneralRe: Read a file on click event Pin
Nishad S16-Oct-07 1:48
Nishad S16-Oct-07 1:48 
GeneralRe: Read a file on click event Pin
chandu00416-Oct-07 1:40
chandu00416-Oct-07 1:40 
GeneralRe: Read a file on click event Pin
CodingLover16-Oct-07 1:46
CodingLover16-Oct-07 1:46 
GeneralRe: Read a file on click event Pin
chandu00416-Oct-07 2:05
chandu00416-Oct-07 2:05 
GeneralRe: Read a file on click event Pin
chandu00415-Oct-07 21:15
chandu00415-Oct-07 21:15 
GeneralRe: Read a file on click event Pin
CodingLover15-Oct-07 21:22
CodingLover15-Oct-07 21:22 
AnswerRe: Read a file on click event Pin
Naveen15-Oct-07 21:12
Naveen15-Oct-07 21:12 
GeneralRe: Read a file on click event Pin
CodingLover15-Oct-07 21:18
CodingLover15-Oct-07 21:18 

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.