Click here to Skip to main content
16,005,281 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: ATL Object Pin
Rene De La Garza8-Jul-02 17:23
Rene De La Garza8-Jul-02 17:23 
GeneralRe: ATL Object Pin
Chris Losinger8-Jul-02 17:37
professionalChris Losinger8-Jul-02 17:37 
GeneralRe: ATL Object Pin
Rene De La Garza8-Jul-02 17:41
Rene De La Garza8-Jul-02 17:41 
GeneralRe: ATL Object Pin
Chris Losinger8-Jul-02 17:41
professionalChris Losinger8-Jul-02 17:41 
GeneralRe: ATL Object Pin
Rene De La Garza8-Jul-02 17:47
Rene De La Garza8-Jul-02 17:47 
Generalproblem with recordset delete function Pin
8-Jul-02 16:49
suss8-Jul-02 16:49 
GeneralCString::GetBuffer Pin
Abin8-Jul-02 15:39
Abin8-Jul-02 15:39 
GeneralRe: CString::GetBuffer [edited due to slight error] Pin
Nish Nishant8-Jul-02 15:44
sitebuilderNish Nishant8-Jul-02 15:44 
nMinBufLength specifies the minimum size of the buffer that you can safely play with.

If you do a GetBuffer with nMinBufLength = 10, you can do whatever you want with the first 10 characters of the LPTSTR that is returned. If you do something with the 11th character, let the devil save you!!!

[newly added]Of course that's assuming the actual buffer is smaller than 10 characters. Whatever you specify for nMinBufLength , if the actual buffer is bigger, that's what is returned Smile | :) [/newly added]

Use nMinBufLength = 0 to get a buffer that is the current size of the underlying CString buffer

Nish




Author of the romantic comedy

Summer Love and Some more Cricket [New Win]

Review by Shog9
Click here for review[NW]

GeneralRe: CString::GetBuffer [edited due to slight error] Pin
Abin8-Jul-02 16:54
Abin8-Jul-02 16:54 
GeneralRe: CString::GetBuffer [edited due to slight error] Pin
Rene De La Garza8-Jul-02 17:08
Rene De La Garza8-Jul-02 17:08 
GeneralRe: CString::GetBuffer [edited due to slight error] Pin
Christian Graus8-Jul-02 17:53
protectorChristian Graus8-Jul-02 17:53 
Generalusing delete() in recordset Pin
8-Jul-02 15:28
suss8-Jul-02 15:28 
GeneralRe: using delete() in recordset Pin
Carlos Antollini8-Jul-02 20:12
Carlos Antollini8-Jul-02 20:12 
GeneralRECOVERING A BINARY TREE FROM ITS POST-ORDER CODE!! Pin
barking_dogs8-Jul-02 14:35
barking_dogs8-Jul-02 14:35 
GeneralRe: RECOVERING A BINARY TREE FROM ITS POST-ORDER CODE!! Pin
Christian Graus8-Jul-02 16:56
protectorChristian Graus8-Jul-02 16:56 
QuestionCalling a parent method? Pin
clintsinger8-Jul-02 14:07
clintsinger8-Jul-02 14:07 
AnswerRe: Calling a parent method? Pin
Chris Losinger8-Jul-02 14:17
professionalChris Losinger8-Jul-02 14:17 
GeneralRe: Calling a parent method? Pin
clintsinger8-Jul-02 15:19
clintsinger8-Jul-02 15:19 
GeneralMouse Messages Pin
carp8-Jul-02 13:47
carp8-Jul-02 13:47 
GeneralRe: Mouse Messages Pin
Christian Graus8-Jul-02 16:57
protectorChristian Graus8-Jul-02 16:57 
GeneralRe: Mouse Messages Pin
carp10-Jul-02 5:55
carp10-Jul-02 5:55 
GeneralRe: Mouse Messages Pin
Christian Graus10-Jul-02 12:29
protectorChristian Graus10-Jul-02 12:29 
GeneralVariable Number of Arguments Pin
8-Jul-02 13:03
suss8-Jul-02 13:03 
GeneralRe: Variable Number of Arguments Pin
8-Jul-02 13:07
suss8-Jul-02 13:07 
GeneralRe: Variable Number of Arguments Pin
Chris Losinger8-Jul-02 14:18
professionalChris Losinger8-Jul-02 14:18 

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.