UWP / WinRT中的WriteInGameEvent问题 [英] WriteInGameEvent problem in UWP / WinRT
问题描述
您好,
我正在尝试使用UWP Windows 10应用中的WinRT向Xbox Live报告事件。
主要应用是在C ++中它使用WinRT组件。在那里,我用它来报告事件(在用户登录后):
XboxLiveContext ^ context = ref new XboxLiveContext(user);
EventsService ^ s = context-> EventsService;
s-> WriteInGameEvent(L" MyEventName");
何时我运行此代码,它不会崩溃,但我在输出中出现一些错误,似乎没有报告事件:
在app.exe中的0x7560DAD8(KernelBase.dll)抛出异常: 0x000006BA:RPC服务器不可用。
$
app.exe中的0x7560DAD8(KernelBase.dll)抛出异常:0x0000000E:没有足够的存储空间可用于完成此操作。
任何想法可能导致什么?
祝你好运
MarcinZ1。
根据你的代码,我搜索''XboxLiveContext''。我找不到您使用的SDK。所以请详细说明您对SDK的使用。
祝你好运,
Jayden Gu
Hello,
I am trying to report event to Xbox Live using WinRT in UWP Windows 10 app.
Main app is in C++ but it uses WinRT component. In there, I use this to report an event (after logging user in):
XboxLiveContext^ context = ref new XboxLiveContext(user); EventsService^ s = context->EventsService; s->WriteInGameEvent(L"MyEventName");
When I run this code, it doesn't crash but I get some errors in output and it seems event is not reported:
Exception thrown at 0x7560DAD8 (KernelBase.dll) in app.exe: 0x000006BA: The RPC server is unavailable.
Exception thrown at 0x7560DAD8 (KernelBase.dll) in app.exe: 0x0000000E: Not enough storage is available to complete this operation.
Any ideas what could cause it?
Best regards
Hi, MarcinZ1.
According to your code, I search the ''XboxLiveContext''. I can not find which SDK do you use. So please detail your use of the SDK.
Best regards,
Jayden Gu
这篇关于UWP / WinRT中的WriteInGameEvent问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!