Click here to Skip to main content
15,909,051 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: color the text in MFC Dialog Pin
ytod15-Dec-04 15:33
ytod15-Dec-04 15:33 
GeneralRe: color the text in MFC Dialog Pin
David Crow16-Dec-04 4:00
David Crow16-Dec-04 4:00 
QuestionHow to add a lineat the beginnig of a file? Pin
lucia4444es14-Dec-04 22:50
lucia4444es14-Dec-04 22:50 
AnswerRe: How to add a lineat the beginnig of a file? Pin
User 665814-Dec-04 23:11
User 665814-Dec-04 23:11 
AnswerRe: How to add a lineat the beginnig of a file? Pin
Cedric Moonen14-Dec-04 23:11
Cedric Moonen14-Dec-04 23:11 
GeneralRe: How to add a lineat the beginnig of a file? Pin
ytod14-Dec-04 23:21
ytod14-Dec-04 23:21 
GeneralRe: How to add a lineat the beginnig of a file? Pin
lucia4444es14-Dec-04 23:33
lucia4444es14-Dec-04 23:33 
GeneralRe: How to add a lineat the beginnig of a file? Pin
David Crow15-Dec-04 4:08
David Crow15-Dec-04 4:08 
Be sure you have write access to the folder in which the temporary file will be created. If the file is not gigantic (e.g., 100MB or more), you could just read it into a heap-based buffer, write the new text to the file and then append the contents of the buffer. That's about as simple as it gets.


"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow


Questionhow to read resource info from an exe file directly? Pin
includeh1014-Dec-04 22:46
includeh1014-Dec-04 22:46 
AnswerRe: how to read resource info from an exe file directly? Pin
David Crow15-Dec-04 4:08
David Crow15-Dec-04 4:08 
GeneralNeed help playing sound with DirectSound Pin
rikkemus14-Dec-04 22:34
rikkemus14-Dec-04 22:34 
GeneralConvert MFC Program inot a Class Pin
sweep12314-Dec-04 21:55
sweep12314-Dec-04 21:55 
GeneralRe: Convert MFC Program inot a Class Pin
Maximilien15-Dec-04 2:14
Maximilien15-Dec-04 2:14 
GeneralRe: Convert MFC Program inot a Class Pin
sweep12315-Dec-04 5:48
sweep12315-Dec-04 5:48 
GeneralMemory Overwrite Pin
vilmer14-Dec-04 21:55
vilmer14-Dec-04 21:55 
GeneralRe: Memory Overwrite Pin
Cedric Moonen14-Dec-04 22:48
Cedric Moonen14-Dec-04 22:48 
GeneralRe: Memory Overwrite Pin
vilmer15-Dec-04 1:36
vilmer15-Dec-04 1:36 
QuestionWhy does reading a string cause errors? Pin
tpndtbk14-Dec-04 21:35
tpndtbk14-Dec-04 21:35 
AnswerRe: Why does reading a string cause errors? Pin
Budric B.15-Dec-04 3:42
Budric B.15-Dec-04 3:42 
Questionhow to compress audio data Pin
yingkou14-Dec-04 21:32
yingkou14-Dec-04 21:32 
AnswerRe: how to compress audio data Pin
rikkemus14-Dec-04 22:55
rikkemus14-Dec-04 22:55 
GeneralRe: how to compress audio data Pin
yingkou14-Dec-04 23:47
yingkou14-Dec-04 23:47 
GeneralRe: how to compress audio data Pin
rikkemus15-Dec-04 8:41
rikkemus15-Dec-04 8:41 
AnswerRe: how to compress audio data Pin
markkuk15-Dec-04 0:01
markkuk15-Dec-04 0:01 
QuestionHow to Use Dll in VC++ Pin
SivaramanDhamodharan14-Dec-04 19:12
SivaramanDhamodharan14-Dec-04 19:12 

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.