In Visual C 2010 how do you do a string comparison to check for equality between a char* and a LPWSTR? For example, do something to the extent of
LPWSTR *str;
if (*str == "fileName") //...
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.
I believe the wsccmp function should do what you are looking to do.
http://msdn.microsoft.com/en-us/library/e0z9k731(v=vs.80).aspx