How to concatenate 2 LPOLESTR
- by BHOdevelopper
Hi, i want to concatenate 2 strings in c++, i can't use char*.
I tried the following but doesn't work:
#define url L"http://domain.com"
wstring s1 = url;
wstring s2 = L"/page.html";
wstring s = s1 + s2;
LPOLESTR o = OLESTR(s);
I need a string with s1 and s2 concatenated. Any info or website that explain more about this ? Thanks.