this file works so the function is supposed to be correct. don't know where is GetPath(), the code is not mine but it works, i'm just trying to modify it a bit.
i want to use this function (GetPathToFolder) in another .cpp, how should i call it? shall i include the .h file on the header?