I have the following problem:
strcpy(rdr,"Name is Kesri");
BSTR bstrName = SysAllocString(L rdr);
The value of rdr changes during runtime i.e. it is a input to the program. I want rdr to be passed to SysAllocString function as a argument but it doesn't work.