我正在写一个SharpDx(directX)Windows Phone 8游戏,到目前为止一切正常。 当我改变DrawingSurface的大小时,调试期间的手机屏幕只是黑色。 我立刻撤消了所有内容并卸载了应用程序,然后屏幕仍然是黑色的。 现在我已经检查了程序停止工作的断点,最后出现了,电话每一行都通过线路
TouchCollection touchCollection = TouchPanel.GetState(); 。
在那之后没有任何事情发生,也没有任何警告或任何事情。 但是,当我在没有调试的情况下启动应用程序时,我可以轻松操作应用程序。
有人有想法吗?
这是一个截图:
![]] 1
I'm writing a SharpDx(directX) Windows Phone 8 game where everything worked until now. When I changed the size of the DrawingSurface, the phone screen during debugging was only black. Immediately I have everything undone and uninstalled the app, then the screen was still black. Now I have checked with breakpoints where the program stops working, at the end came out that, the phone every line passes through to the line
TouchCollection touchCollection = TouchPanel.GetState();.
After that nothing happens, there is also no warning or anything. However, when I start the app without debugging, I can easily operate the app.
Has anyone an idea?
Here is a Screenshot:
![]]1
最满意答案
我现在找到了解决问题的方法。
解决方案(非常简单):
DrawingSurface不起作用,因为Microsoft Advertising SDK已经扰乱了它。
I have now found the solution to my problem.
Solution(Very simple):
The DrawingSurface doesn't work because an Microsoft Advertising SDK has disturbed it.
更多推荐
发布评论