BSTR var=L"element"; if(var=="a") { printf("they are equal\n");//here i get error operands are incompatible i tryed strcmp also }
BSTR
if (0 == wcscmp(var, L"a")) printf("they are equal\n");
if(0== wcscmp(var, L"a")) { printf("they are equal\n") }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)