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

C / C++ / MFC

 
GeneralRe: Sieve of Eratosthenes -- Please Urgent Pin
Christian Graus31-Mar-01 1:56
protectorChristian Graus31-Mar-01 1:56 
GeneralWTL CString disaster !!! Pin
Christian Graus30-Mar-01 17:29
protectorChristian Graus30-Mar-01 17:29 
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 
Oh, um... *embarrassed grin*

I thought ReleaseBuffer released the ownership of the pointer, i.e. if I passed the value to a char* or a list on a permanent basis, I would release it from the string. As my wife has been heard to tell me, I've been doing it wrong !!!

So I release after every GetBuffer to restore ownership to the string, is that right ?



Christian

The content of this post is not necessarily the opinion of my yadda yadda yadda.

To understand recursion, we must first understand recursion.
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 
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 

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.