windows platform.
szPath is pre defined. i want to add szPath2 to it but i don’t want to use the PathAppend function because i ‘ll need to link the Shlwapi library.
what should i do? i want to return a wchat_t..
wchar_t szPath[MAX_PATH];
wchar_t szPath2[MAX_PATH] = L"\\project\\MyApplication.exe";
Any reason you aren’t using
std::wstring?You can also use
wcsncat