Click here to Skip to main content
16,010,876 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: help with some date/time input pls Pin
neodeaths2-Jul-05 17:50
neodeaths2-Jul-05 17:50 
GeneralRe: help with some date/time input pls Pin
David Crow4-Jul-05 11:42
David Crow4-Jul-05 11:42 
GeneralNumber of bytes in a mbcs string Pin
Chintoo72329-Jun-05 3:28
Chintoo72329-Jun-05 3:28 
GeneralRe: Number of bytes in a mbcs string Pin
RChin29-Jun-05 4:40
RChin29-Jun-05 4:40 
GeneralRe: Number of bytes in a mbcs string Pin
Jose Lamas Rios29-Jun-05 4:41
Jose Lamas Rios29-Jun-05 4:41 
GeneralRe: Number of bytes in a mbcs string Pin
Chintoo72329-Jun-05 4:54
Chintoo72329-Jun-05 4:54 
GeneralRe: Number of bytes in a mbcs string Pin
Jose Lamas Rios29-Jun-05 5:04
Jose Lamas Rios29-Jun-05 5:04 
GeneralRe: Number of bytes in a mbcs string Pin
Andrew Kirillov29-Jun-05 4:58
Andrew Kirillov29-Jun-05 4:58 
Two above posts are correct, except only the one thing. As MSDN says :
"these functions returns the number of characters in string, excluding the terminal NULL."

So, I suppose, the correct answer on the question will be
(_tcslen(str) + 1) * sizeof(TCHAR)

Andrew
GeneralRe: Number of bytes in a mbcs string Pin
Jose Lamas Rios29-Jun-05 5:07
Jose Lamas Rios29-Jun-05 5:07 
Questionany limitations to VTable ??? Pin
Abhi Lahare29-Jun-05 3:24
Abhi Lahare29-Jun-05 3:24 
AnswerRe: any limitations to VTable ??? Pin
Chris Losinger29-Jun-05 3:33
professionalChris Losinger29-Jun-05 3:33 
GeneralRe: any limitations to VTable ??? Pin
Chintoo72329-Jun-05 3:41
Chintoo72329-Jun-05 3:41 
GeneralRe: any limitations to VTable ??? Pin
Chintoo72329-Jun-05 3:42
Chintoo72329-Jun-05 3:42 
GeneralRe: any limitations to VTable ??? Pin
Chris Losinger29-Jun-05 3:48
professionalChris Losinger29-Jun-05 3:48 
GeneralRe: any limitations to VTable ??? Pin
Chintoo72329-Jun-05 3:55
Chintoo72329-Jun-05 3:55 
GeneralRe: any limitations to VTable ??? Pin
Chintoo72329-Jun-05 3:56
Chintoo72329-Jun-05 3:56 
GeneralRe: any limitations to VTable ??? Pin
Chris Losinger29-Jun-05 4:03
professionalChris Losinger29-Jun-05 4:03 
GeneralRe: any limitations to VTable ??? Pin
Chintoo72329-Jun-05 4:18
Chintoo72329-Jun-05 4:18 
GeneralRe: any limitations to VTable ??? Pin
Chris Losinger29-Jun-05 4:23
professionalChris Losinger29-Jun-05 4:23 
GeneralRe: any limitations to VTable ??? Pin
Chintoo72329-Jun-05 4:34
Chintoo72329-Jun-05 4:34 
Generalcan't compile my codes...pls help Pin
Member 208234129-Jun-05 2:11
Member 208234129-Jun-05 2:11 
GeneralRe: can't compile my codes...pls help Pin
Cillieacc0rd5o429-Jun-05 2:14
Cillieacc0rd5o429-Jun-05 2:14 
GeneralRe: can't compile my codes...pls help Pin
Ravi Bhavnani29-Jun-05 2:24
professionalRavi Bhavnani29-Jun-05 2:24 
GeneralRe: can't compile my codes...pls help Pin
ThatsAlok29-Jun-05 2:26
ThatsAlok29-Jun-05 2:26 
GeneralRe: can't compile my codes...pls help Pin
ThatsAlok29-Jun-05 2:25
ThatsAlok29-Jun-05 2:25 

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.