Click here to Skip to main content
16,004,924 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generalhelp with playin wave files Pin
ALLmightySPIFF19-May-03 17:15
ALLmightySPIFF19-May-03 17:15 
GeneralRe: help with playin wave files Pin
J. Dunlap19-May-03 19:06
J. Dunlap19-May-03 19:06 
GeneralWrite to a file. Pin
kjessee19-May-03 16:59
kjessee19-May-03 16:59 
GeneralRe: Write to a file. Pin
Dominik Reichl19-May-03 21:28
Dominik Reichl19-May-03 21:28 
GeneralStreamOut with large content Pin
blongtq19-May-03 15:48
blongtq19-May-03 15:48 
GeneralRe: StreamOut with large content Pin
Martyn Pearson19-May-03 21:18
Martyn Pearson19-May-03 21:18 
GeneralRe: StreamOut with large content Pin
blongtq20-May-03 16:43
blongtq20-May-03 16:43 
GeneralRe: StreamOut with large content Pin
Martyn Pearson20-May-03 22:52
Martyn Pearson20-May-03 22:52 
I'm confused. Delving into the CMemFile code, it looks like the internal CMemFile buffer is NULL, which means that (memory shortage problems aside) the rich edit control has never called the callback to write to the file.

It might be worth putting a breakpoint before the offending line and taking a look at the memFile member variables to see if there is indeed a valid looking buffer in there!

If there is no buffer, it could be down to where you are calling the function from - could it be at a point where the rich edit control might have already cleared down the content and started destroying itself?

Just out of interest, what did you set GETCONTENT_BUFFER to? I set it to 4096.

Sorry I can't be any more help!


GeneralWatch Window Bug under /Zc:forScope Pin
Doug19-May-03 14:31
Doug19-May-03 14:31 
GeneralRe: Watch Window Bug under /Zc:forScope Pin
Maxwell Chen19-May-03 15:38
Maxwell Chen19-May-03 15:38 
GeneralRe: Watch Window Bug under /Zc:forScope Pin
Doug19-May-03 15:47
Doug19-May-03 15:47 
QuestionHow to convert a large DWORD to a string? Pin
mcgahanfl19-May-03 14:25
mcgahanfl19-May-03 14:25 
AnswerRe: How to convert a large DWORD to a string? Pin
Dave Bryant19-May-03 14:39
Dave Bryant19-May-03 14:39 
GeneralRe: How to convert a large DWORD to a string? Pin
mcgahanfl20-May-03 2:55
mcgahanfl20-May-03 2:55 
QuestionAccessing other users' My Documents folders? Pin
IGx8919-May-03 13:44
IGx8919-May-03 13:44 
GeneralCRecentFileList Pin
dings19-May-03 10:44
dings19-May-03 10:44 
QuestionPrinting with MFC? Pin
dings19-May-03 9:51
dings19-May-03 9:51 
AnswerRe: Printing with MFC? Pin
David Crow19-May-03 10:02
David Crow19-May-03 10:02 
GeneralRe: Printing with MFC? Pin
dings19-May-03 10:35
dings19-May-03 10:35 
GeneralSpy++ - like app Pin
Member 40241919-May-03 8:33
Member 40241919-May-03 8:33 
GeneralRe: Spy++ - like app Pin
Joaquín M López Muñoz19-May-03 9:04
Joaquín M López Muñoz19-May-03 9:04 
GeneralRe: Spy++ - like app Pin
Beer19-May-03 9:48
Beer19-May-03 9:48 
GeneralRe: Spy++ - like app Pin
Jeremy Falcon19-May-03 9:47
professionalJeremy Falcon19-May-03 9:47 
GeneralRe: Spy++ - like app Pin
Neville Franks19-May-03 12:08
Neville Franks19-May-03 12:08 
GeneralRe: Spy++ - like app Pin
Roger Allen20-May-03 5:43
Roger Allen20-May-03 5:43 

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.