ASCII strings are used in client and servers. However wide character strings are recomended to support verious local languages.
DCOM parameters of strings are always BSTRs. So there is always a need to convert ASCII to wide char and then wide char to BSTRs.
ATL framework has a set of helper macros to convert between these type of strings.
ANSI character string.
Unicode character string.
Generic character string (equivalent to W when _UNICODE is defined, equivalent to A otherwise).
OLE character string (equivalent to W).
T2CA (Deprecated. Use T2CA_EX or CT2CA instead.)
ComBSTR is one helper class provided by MFC/ATL to convert UNICODE string to BSTR and vice versa. It has verious public methods and operators for managing and manipulating BSTRs in COM servers and client.
You have viewed 1 page out of 66. Your COM/DCOM learning is 0.00% complete. Login to check your learning progress.
Similar topics related to this section
COM DCOM Interview Questions and Answers :: ALL Interview .com
COM DCOM - COM DCOM Interview Questions
COM interview questions | TechInterviews
COM Interview Questions - CodeProject
Com Dcom Interview Questions - Com and Dcom in Asp Net
ATL Interview Questions and Answers :: ALL Interview .com
ActiveX Interview Questions and Answers :: ALL Interview .com
| #1 webmaster Mon 28 Apr/2014 23:22:19(GMT) || 0 || 0|
We are pleased to inform you that a forum/blog has been incorporated with www.mybestnotes.co.in. You are welcomed to add your comments, requests, codes, solutions and feedback to it. Please login(if already a member) or signup(for free) to avail to this facility.
Your message goes here: