Hello,

Below is the code which gives me the error:

Code:
CString temp1, path;
GetCurrentDirectory(1000, temp1.GetBufferSetLength(1000));
path = temp1 + "\\subdir\\test1.jpg";
error:

error C2679: binary '+' : no operator found which takes a right-hand
operand of type 'const char [18]' (or there is no acceptable conversion)


How can I fix this?

Thanks!