Your GetLoginStatus signatures differ from each other. Correct the .h signature and it will build.