Click here to Skip to main content
16,008,299 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: WTL CString disaster !!! Pin
Michael Dunn30-Mar-01 18:19
sitebuilderMichael Dunn30-Mar-01 18:19 
GeneralRe: WTL CString disaster !!! Pin
Christian Graus30-Mar-01 19:37
protectorChristian Graus30-Mar-01 19:37 
GeneralRe: WTL CString disaster !!! Pin
Michael Dunn30-Mar-01 20:11
sitebuilderMichael Dunn30-Mar-01 20:11 
GeneralRe: WTL CString disaster !!! Pin
Christian Graus30-Mar-01 20:23
protectorChristian Graus30-Mar-01 20:23 
GeneralRe: WTL CString disaster !!! Pin
Michael Dunn30-Mar-01 20:35
sitebuilderMichael Dunn30-Mar-01 20:35 
GeneralRe: WTL CString disaster !!! Pin
Christian Graus31-Mar-01 1:48
protectorChristian Graus31-Mar-01 1:48 
GeneralRe: WTL CString disaster !!! Pin
Anders Molin31-Mar-01 6:48
professionalAnders Molin31-Mar-01 6:48 
GeneralRe: WTL CString disaster !!! Pin
Michael Dunn31-Mar-01 7:56
sitebuilderMichael Dunn31-Mar-01 7:56 
I think you get it now. Smile | :) When you call GetBuffer(), you get access to the char buffer and you can modify it however you want (as long as you don't overrun the end of the buffer). Calling ReleaseBuffer() means you no longer need this direct access, and the CString object once again becomes responsible for managing the memory associated with the buffer.

--Mike--
http://home.inreach.com/mdunn/
The preferred snack of 4 out of 5 Lounge readers.
GeneralRe: WTL CString disaster !!! Pin
Christian Graus31-Mar-01 12:47
protectorChristian Graus31-Mar-01 12:47 
GeneralGlobalFree Pin
Jamie Nordmeyer30-Mar-01 11:54
Jamie Nordmeyer30-Mar-01 11:54 
GeneralRe: GlobalFree Pin
Tim Deveaux30-Mar-01 13:31
Tim Deveaux30-Mar-01 13:31 
GeneralRe: GlobalFree Pin
Jamie Nordmeyer2-Apr-01 5:46
Jamie Nordmeyer2-Apr-01 5:46 
GeneralADO Problem Pin
#realJSOP30-Mar-01 9:57
professional#realJSOP30-Mar-01 9:57 
GeneralRe: ADO Problem Pin
Anders Molin31-Mar-01 6:52
professionalAnders Molin31-Mar-01 6:52 
GeneralHelp needed! Please help Pin
Mustafa Demirhan30-Mar-01 8:53
Mustafa Demirhan30-Mar-01 8:53 
GeneralRe: Help needed! Please help Pin
BenDev30-Mar-01 9:27
BenDev30-Mar-01 9:27 
GeneralProcedure/Function question Pin
Richard Cheng30-Mar-01 6:58
Richard Cheng30-Mar-01 6:58 
GeneralRe: Procedure/Function question Pin
Tim Deveaux30-Mar-01 7:17
Tim Deveaux30-Mar-01 7:17 
GeneralRe: Procedure/Function question Pin
Richard Cheng30-Mar-01 7:29
Richard Cheng30-Mar-01 7:29 
GeneralURGENT - Please Help! Pin
Mustafa Demirhan30-Mar-01 6:13
Mustafa Demirhan30-Mar-01 6:13 
GeneralRe: URGENT - Please Help! Pin
Masaaki Onishi30-Mar-01 6:45
Masaaki Onishi30-Mar-01 6:45 
GeneralWarnings compiling STL Pin
30-Mar-01 3:05
suss30-Mar-01 3:05 
GeneralRe: Warnings compiling STL Pin
Chris Losinger30-Mar-01 3:44
professionalChris Losinger30-Mar-01 3:44 
GeneralRe: Warnings compiling STL Pin
Anders Molin31-Mar-01 6:59
professionalAnders Molin31-Mar-01 6:59 
Generalsending messages from a worker thread to cdocument Pin
derhackler29-Mar-01 23:17
derhackler29-Mar-01 23:17 

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.