var _userpath: string;begin _userpath := GetUserDir;...
I need it for all platforms, its weird that it does not work though.