Click here to Skip to main content
15,888,610 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: SHGetFolderPath returns E_FAIL for CSIDL_BITBUCKET Pin
Stuart Dootson10-Aug-09 11:23
professionalStuart Dootson10-Aug-09 11:23 
GeneralRe: SHGetFolderPath returns E_FAIL for CSIDL_BITBUCKET Pin
Nitheesh George10-Aug-09 21:38
Nitheesh George10-Aug-09 21:38 
GeneralRe: SHGetFolderPath returns E_FAIL for CSIDL_BITBUCKET Pin
Randor 10-Aug-09 22:55
professional Randor 10-Aug-09 22:55 
GeneralRe: SHGetFolderPath returns E_FAIL for CSIDL_BITBUCKET Pin
kilt11-Aug-09 6:09
kilt11-Aug-09 6:09 
QuestionCan I destory other thread's child window? Pin
fitatc9-Aug-09 23:35
fitatc9-Aug-09 23:35 
QuestionRe: Can I destory other thread's child window? Pin
Adam Roderick J10-Aug-09 2:32
Adam Roderick J10-Aug-09 2:32 
QuestionInternal buffer of file Pin
trioum9-Aug-09 23:34
trioum9-Aug-09 23:34 
AnswerRe: Internal buffer of file Pin
Cedric Moonen9-Aug-09 23:52
Cedric Moonen9-Aug-09 23:52 
trioum wrote:
I am writing a text file . open it and write it any thing. Now I write a programme that open the file and read it . but I fail to read that data i write .


What do you mean exactly ? Do you open your text file with a program like notepad and then add some text to your file, without saving the file and then try to get back that data from the file directly ?
If you are wondering why this doesn't work, well, that's simply because you didn't save your file. The modifications are not commited to your file until you save it. In fact the modifications are kept in the "internal buffer" of notepad and there's no way to retrieve this information from the file directly.



trioum wrote:
Is it neccessary to save the data before read


Yes


trioum wrote:
is there any method to read data from internal buffer of file that is not saved .


No, because this data is kept in notepad, and not in the file.

Cédric Moonen
Software developer

Charting control [v2.0]
OpenGL game tutorial in C++

GeneralRe: Internal buffer of file Pin
trioum10-Aug-09 0:09
trioum10-Aug-09 0:09 
GeneralRe: Internal buffer of file Pin
Cedric Moonen10-Aug-09 0:10
Cedric Moonen10-Aug-09 0:10 
GeneralRe: Internal buffer of file Pin
trioum10-Aug-09 0:33
trioum10-Aug-09 0:33 
GeneralRe: Internal buffer of file Pin
Cedric Moonen10-Aug-09 0:59
Cedric Moonen10-Aug-09 0:59 
GeneralRe: Internal buffer of file Pin
trioum10-Aug-09 1:14
trioum10-Aug-09 1:14 
GeneralRe: Internal buffer of file Pin
Cedric Moonen10-Aug-09 1:27
Cedric Moonen10-Aug-09 1:27 
GeneralRe: Internal buffer of file Pin
David Crow10-Aug-09 2:44
David Crow10-Aug-09 2:44 
GeneralRe: Internal buffer of file Pin
Cedric Moonen10-Aug-09 2:48
Cedric Moonen10-Aug-09 2:48 
AnswerRe: Internal buffer of file Pin
Randor 10-Aug-09 7:38
professional Randor 10-Aug-09 7:38 
GeneralRe: Internal buffer of file Pin
trioum10-Aug-09 20:09
trioum10-Aug-09 20:09 
GeneralRe: Internal buffer of file Pin
Randor 10-Aug-09 23:33
professional Randor 10-Aug-09 23:33 
GeneralRe: Internal buffer of file Pin
trioum11-Aug-09 0:14
trioum11-Aug-09 0:14 
GeneralRe: Internal buffer of file Pin
trioum11-Aug-09 20:33
trioum11-Aug-09 20:33 
GeneralRe: Internal buffer of file Pin
Randor 11-Aug-09 21:23
professional Randor 11-Aug-09 21:23 
GeneralRe: Internal buffer of file Pin
trioum12-Aug-09 0:18
trioum12-Aug-09 0:18 
QuestionE_NOINTERFACE returned while using SHEmptyRecycleBin Pin
anjali_saluja9-Aug-09 23:09
anjali_saluja9-Aug-09 23:09 
AnswerRe: E_NOINTERFACE returned while using SHEmptyRecycleBin Pin
Chandrasekharan P9-Aug-09 23:25
Chandrasekharan P9-Aug-09 23:25 

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.