How can I get the location of the Current Project?

FString stores its characters as TCHAR, which is a type you’re not supposed to make size assumptions about (but is wchar_t by default on Windows).

Do you need wchar_t*? We have built in functionality to convert an FString to either an ANSI or UTF8 encoded char*.

TCHAR_TO_ANSI
TCHAR_TO_UTF8