This function is to set current working directory.
string okutil_set_custom_path( LPCSTR lpcszNew = NULL, bool bDoUpdate = true )
Current working directory.
EX1
void okutil_set_custom_path_Ex1() { string str = okutil_set_custom_path();//default for user directory out_str(str); }
EX2
void okutil_set_custom_path_Ex2() { LPCSTR lpcszNew = GetAppPath(TRUE);//get Origin's program path bool bDoUpdate=false; string str = okutil_set_custom_path(lpcszNew, bDoUpdate); out_str(str); }
okutil_get_custom_path
origin.h