none
Missing Xbox live internal functions e.g. CheckGamingPrivilegeWithUI RRS feed

  • Question

  • When people come across linker failures reporting that internal bits of Xbox live are missing, e.g. as below, it does not mean that the bits are missing, what it means is that you are  adding xbox live to an old'ish app that had a minimum OS version of ....240.

    Serveral days later, changing the 'Target platform min version' to '10.0.10586.0' and suddenly the linker errors are resolved.

    Stupid, stupid, stupid system.

    Microsoft.Xbox.Services.140.UWP.Ship.Cpp.lib(build.obj) : error LNK2019: unresolved external symbol _CheckGamingPrivilegeWithUI@24 referenced in function "public: class xbox::services::xbox_live_result<bool> __thiscall <lambda_d8259dd3aa10239fb820681c3ad8c381>::operator()(void)const " (??R<lambda_d8259dd3aa10239fb820681c3ad8c381>@@QBE?AV?$xbox_live_result@_N@services@xbox@@XZ)
    1>Microsoft.Xbox.Services.140.UWP.Ship.Cpp.lib(build.obj) : error LNK2019: unresolved external symbol _CheckGamingPrivilegeSilently@16 referenced in function "public: class xbox::services::xbox_live_result<bool> __thiscall <lambda_d8259dd3aa10239fb820681c3ad8c381>::operator()(void)const " (??R<lambda_d8259dd3aa10239fb820681c3ad8c381>@@QBE?AV?$xbox_live_result@_N@services@xbox@@XZ)
    1>Microsoft.Xbox.Services.140.UWP.Ship.Cpp.lib(build.obj) : error LNK2019: unresolved external symbol _ShowGameInviteUIForUser@28 referenced in function "public: class xbox::services::xbox_live_result<void> __thiscall <lambda_ce134ad08132f8ed66fed5646fea13c6>::operator()(void)const " (??R<lambda_ce134ad08132f8ed66fed5646fea13c6>@@QBE?AV?$xbox_live_result@X@services@xbox@@XZ)
    1>Microsoft.Xbox.Services.140.UWP.Ship.Cpp.lib(build.obj) : error LNK2019: unresolved external symbol _ShowPlayerPickerUIForUser@40 referenced in function "public: class xbox::services::xbox_live_result<class std::vector<class std::basic_string<wchar_t,struct std::char_traits<wchar_t>,class std::allocator<wchar_t> >,class std::allocator<class std::basic_string<wchar_t,struct std::char_traits<wchar_t>,class std::allocator<wchar_t> > > > > __thiscall <lambda_ac551cef4d8b9e8a93aaad3b3053476a>::operator()(void)const " (??R<lambda_ac551cef4d8b9e8a93aaad3b3053476a>@@QBE?AV?$xbox_live_result@V?$vector@V?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@std@@V?$allocator@V?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@std@@@2@@std@@@services@xbox@@XZ)
    1>Microsoft.Xbox.Services.140.UWP.Ship.Cpp.lib(build.obj) : error LNK2019: unresolved external symbol _ShowProfileCardUIForUser@16 referenced in function "public: class xbox::services::xbox_live_result<void> __thiscall <lambda_2db75b762042be15af868dbe6fedcb01>::operator()(void)const " (??R<lambda_2db75b762042be15af868dbe6fedcb01>@@QBE?AV?$xbox_live_result@X@services@xbox@@XZ)
    1>Microsoft.Xbox.Services.140.UWP.Ship.Cpp.lib(build.obj) : error LNK2019: unresolved external symbol _ShowChangeFriendRelationshipUIForUser@16 referenced in function "public: class xbox::services::xbox_live_result<void> __thiscall <lambda_7f10cbf1d86564d153d21c69ad32c7f2>::operator()(void)const " (??R<lambda_7f10cbf1d86564d153d21c69ad32c7f2>@@QBE?AV?$xbox_live_result@X@services@xbox@@XZ)
    1>Microsoft.Xbox.Services.140.UWP.Ship.Cpp.lib(build.obj) : error LNK2019: unresolved external symbol _ShowTitleAchievementsUIForUser@16 referenced in function "public: class xbox::services::xbox_live_result<void> __thiscall <lambda_287c651f430f0a83ccd096710ce1bed8>::operator()(void)const " (??R<lambda_287c651f430f0a83ccd096710ce1bed8>@@QBE?AV?$xbox_live_result@X@services@xbox@@XZ)
    1>Microsoft.Xbox.Services.140.UWP.Ship.Cpp.lib(build.obj) : error LNK2019: unresolved external symbol _CheckGamingPrivilegeWithUIForUser@28 referenced in function "public: class xbox::services::xbox_live_result<bool> __thiscall <lambda_d8259dd3aa10239fb820681c3ad8c381>::operator()(void)const " (??R<lambda_d8259dd3aa10239fb820681c3ad8c381>@@QBE?AV?$xbox_live_result@_N@services@xbox@@XZ)
    1>Microsoft.Xbox.Services.140.UWP.Ship.Cpp.lib(build.obj) : error LNK2019: unresolved external symbol _CheckGamingPrivilegeSilentlyForUser@20 referenced in function "public: static class xbox::services::xbox_live_result<bool> __cdecl xbox::services::system::title_callable_ui::check_gaming_privilege_silently(enum xbox::services::system::gaming_privilege,class Windows::System::User ^)" (?check_gaming_privilege_silently@title_callable_ui@system@services@xbox@@SA?AV?$xbox_live_result@_N@34@W4gaming_privilege@234@P$AAVUser@System@Windows@@@Z)

    Monday, August 14, 2017 3:24 PM

Answers

All replies

  • I'm not sure if you have a question here or not, but yes: you cannot use features from a newer SDK on an app targeting an older SDK. The error is correct in that case: the newer features do not exist in the older SDK and so do not resolve and cannot be used.

    Linking happens when the app is built, not at runtime, and so is related to the libraries the app is linking to and not directly to the features actually on the target system.

    Monday, August 14, 2017 7:48 PM
    Moderator
  • We'll try to make this more clear in our docs.
    Monday, August 21, 2017 6:16 PM
    Moderator