How to parse in c++ list of null-terminated Unicode strings where the list is terminated with two NULL characters?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
There’s this little example on Raymond Chen’s blog (which, perhaps not surprisingly, is the first find in Google for “double null terminated string”):
The LPTSTR and lstrlen are wrappers which change depending on whether or not _UNICODE is set.