GetFolderItem("") returns the parent folder instead of the app's actual location?

I’ve just discovered the issue behind a bug that has plagued me on Windows for a while - apparently GetFolderItem("") returns the path to the parent folder of the application’s folder rather than the location of the app itself. Is this expected, or a bug since one Linux and OS X that call returns the location of the app itself?

[EDIT] Scratch that - my test project default name was too simple and I missed it…

Still digging.

That is the way it’s always worked for me.

Actually, it’s working correctly and returns the folder in which my app is installed. I thought it was returning THAT folder’s parent. It turns out that the Windows local user temp path and what I’d named my test app were too similar and I’d missed that.