Click here to Skip to main content
15,908,112 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow to block win98 explorer.exe when win98 startup ? Pin
Hong Bob3-Apr-01 18:31
Hong Bob3-Apr-01 18:31 
QuestionHow Save a CListCtrl Pin
BLaZe3-Apr-01 17:40
BLaZe3-Apr-01 17:40 
AnswerRe: How Save a CListCtrl Pin
Robert Bushlow4-Apr-01 12:48
Robert Bushlow4-Apr-01 12:48 
GeneralRe: How Save a CListCtrl Pin
BLaZe8-Apr-01 18:15
BLaZe8-Apr-01 18:15 
Generaldeveloping a ms-paint like application Pin
mayank3-Apr-01 17:16
mayank3-Apr-01 17:16 
GeneralRe: developing a ms-paint like application Pin
Christian Graus3-Apr-01 18:12
protectorChristian Graus3-Apr-01 18:12 
GeneralCString::ReleaseBuffer() Pin
3-Apr-01 16:52
suss3-Apr-01 16:52 
GeneralRe: CString::ReleaseBuffer() Pin
Michael Dunn3-Apr-01 18:39
sitebuilderMichael Dunn3-Apr-01 18:39 
When you call GetBuffer(), you are responsible for managing the character buffer. Calling ReleaseBuffer() tells CString that it can take over memory management again. If you don't call ReleaseBuffer() but do call some method that would normally make CString reallocate and grow the buffer, it'll likely fail.

Also, the MFC docs on CString::GetBuffer() say this:
If you use the pointer returned by GetBuffer to change the string contents, you must call ReleaseBuffer before using any other CString member functions.


--Mike--
http://home.inreach.com/mdunn/
All your base are belong to ME~!
GeneralRe: CString::ReleaseBuffer() Pin
Kannan Kalyanaraman3-Apr-01 20:44
Kannan Kalyanaraman3-Apr-01 20:44 
GeneralDEBUG vs. RELEASE Pin
Manfred Ramosch3-Apr-01 14:21
Manfred Ramosch3-Apr-01 14:21 
GeneralRe: DEBUG vs. RELEASE Pin
Christian Graus3-Apr-01 15:06
protectorChristian Graus3-Apr-01 15:06 
GeneralRe: DEBUG vs. RELEASE - closer description... Pin
Manfred Ramosch3-Apr-01 19:33
Manfred Ramosch3-Apr-01 19:33 
GeneralCan anyone believe this...??? Pin
Manfred Ramosch4-Apr-01 5:24
Manfred Ramosch4-Apr-01 5:24 
GeneralRe: Can anyone believe this...??? Pin
Chris Losinger5-Apr-01 8:59
professionalChris Losinger5-Apr-01 8:59 
QuestionAre there performance issues(resource or otherwise) in using CStatic controls to display bitmaps? Pin
eric kaminski3-Apr-01 8:13
eric kaminski3-Apr-01 8:13 
GeneralUsing the system image list with CImageList Pin
3-Apr-01 8:09
suss3-Apr-01 8:09 
GeneralRe: Using the system image list with CImageList Pin
Michael Dunn3-Apr-01 8:46
sitebuilderMichael Dunn3-Apr-01 8:46 
GeneralRe: Using the system image list with CImageList Pin
3-Apr-01 9:43
suss3-Apr-01 9:43 
GeneralRe: Using the system image list with CImageList Pin
Michael Dunn3-Apr-01 12:59
sitebuilderMichael Dunn3-Apr-01 12:59 
QuestionHow to get the button click message ??? Pin
Vistac3-Apr-01 5:18
Vistac3-Apr-01 5:18 
AnswerRe: How to get the button click message ??? Pin
Masaaki Onishi3-Apr-01 6:18
Masaaki Onishi3-Apr-01 6:18 
GeneralRe: Hummmm. Pin
Masaaki Onishi3-Apr-01 16:35
Masaaki Onishi3-Apr-01 16:35 
AnswerRe: How to get the button click message ??? Pin
PJ Arends3-Apr-01 10:23
professionalPJ Arends3-Apr-01 10:23 
QuestionDirectX 8 information??? Pin
t_hamel3-Apr-01 5:17
t_hamel3-Apr-01 5:17 
GeneralLoading a Word Document Pin
3-Apr-01 3:38
suss3-Apr-01 3:38 

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.