Click here to Skip to main content
15,894,252 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralChanging TAPI modem modes Pin
andy18015-Aug-05 10:56
andy18015-Aug-05 10:56 
QuestionCString::GetLength(), what does it in fact return? Pin
misterbear15-Aug-05 7:54
misterbear15-Aug-05 7:54 
AnswerRe: CString::GetLength(), what does it in fact return? Pin
David Crow15-Aug-05 8:46
David Crow15-Aug-05 8:46 
GeneralRe: CString::GetLength(), what does it in fact return? Pin
Graham Bradshaw15-Aug-05 9:08
Graham Bradshaw15-Aug-05 9:08 
GeneralRe: CString::GetLength(), what does it in fact return? Pin
David Crow15-Aug-05 9:27
David Crow15-Aug-05 9:27 
GeneralRe: CString::GetLength(), what does it in fact return? Pin
Jose Lamas Rios15-Aug-05 9:11
Jose Lamas Rios15-Aug-05 9:11 
AnswerRe: CString::GetLength(), what does it in fact return? Pin
Tim Smith15-Aug-05 13:30
Tim Smith15-Aug-05 13:30 
GeneralRe: CString::GetLength(), what does it in fact return? Pin
misterbear15-Aug-05 20:05
misterbear15-Aug-05 20:05 
So if I want to be sure and in the end come out with a measure of the number of bytes (since I use this in conjunction with a filename buffer for a custom multiselect file dialog) what can I do? Is there some other way of finding out the length in bytes of a string?
In a compile-mode independant manner? I mean it seems clear that the object itself contains a buffer so it should also internally have a count of the bytes. Is this hidden? Because this behaviour from GetLength() seems to be a bit confusing...
(or maybe I am what is confused?)

Generalfirewall by-passing Pin
avi-wildthing15-Aug-05 7:02
avi-wildthing15-Aug-05 7:02 
GeneralRe: firewall by-passing Pin
Rage15-Aug-05 7:04
professionalRage15-Aug-05 7:04 
GeneralRe: firewall by-passing Pin
avi-wildthing15-Aug-05 7:40
avi-wildthing15-Aug-05 7:40 
GeneralRe: firewall by-passing Pin
Bob Stanneveld15-Aug-05 10:23
Bob Stanneveld15-Aug-05 10:23 
GeneralRe: firewall by-passing Pin
avi-wildthing15-Aug-05 15:53
avi-wildthing15-Aug-05 15:53 
GeneralRe: firewall by-passing Pin
ThatsAlok15-Aug-05 18:27
ThatsAlok15-Aug-05 18:27 
GeneralRe: firewall by-passing Pin
fat_boy19-Aug-05 4:42
fat_boy19-Aug-05 4:42 
GeneralHooking Pin
celllllllll15-Aug-05 6:27
celllllllll15-Aug-05 6:27 
GeneralRe: Hooking Pin
Rage15-Aug-05 6:51
professionalRage15-Aug-05 6:51 
GeneralRe: Hooking Pin
celllllllll15-Aug-05 11:16
celllllllll15-Aug-05 11:16 
GeneralRe: Hooking Pin
Rage15-Aug-05 20:34
professionalRage15-Aug-05 20:34 
GeneralRe: Hooking Pin
celllllllll16-Aug-05 7:15
celllllllll16-Aug-05 7:15 
GeneralRe: Hooking Pin
celllllllll15-Aug-05 11:32
celllllllll15-Aug-05 11:32 
GeneralUninitialized pointer Pin
valerie9915-Aug-05 5:58
valerie9915-Aug-05 5:58 
GeneralRe: Uninitialized pointer Pin
David Crow15-Aug-05 6:27
David Crow15-Aug-05 6:27 
GeneralRe: Uninitialized pointer Pin
valerie9915-Aug-05 6:40
valerie9915-Aug-05 6:40 
GeneralRe: Uninitialized pointer Pin
Maximilien15-Aug-05 7:12
Maximilien15-Aug-05 7:12 

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.