我怎样才能绕过UWP的功能,包括C ++和C#? [英] How could I detour the function of UWP, both for C++ and C#?

查看:90
本文介绍了我怎样才能绕过UWP的功能,包括C ++和C#?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有两个UWP应用程序,一个是由Visual C#创建的,另一个是由Visual C ++创建的。 




c ++

Windows :: Graphics :: Holographic :: HolographicSpace ^  m_holographicSpace = nullptr;

void init()

{

    m_holographicSpace = HolographicSpace :: CreateForCoreWindow(窗口);

}



void update()//调用非框架

{

    HolographicFrame ^ holographicFrame = m_holographicSpace-> CreateNextFrame();

}





c#

HolographicSpace m_holographicSpace;

void init()

{

  m_holographicSpace =  HolographicSpace.CreateForCoreWindow(Window.Current.CoreWindow);

}

void update()

{

  ;   HolographicFrame holographicFrame = m_holographicSpace.CreateNextFrame();

}

 

我的问题是如何勾选或绕开CreateNextFrame函数运行时的C ++和C#。在其他世界,当启动UWP时,我怎么能找到CreateNextFrame函数并绕道呢?

          

解决方案





我的问题是如何在运行时为C ++和C#挂钩或绕过函数CreateNextFrame。在其他世界,当启动UWP时,我怎么能找到CreateNextFrame函数并绕道呢?

          


你好, 


你能详细解释一下你是什么意思


I had two UWP applications, one is created by Visual C#, another is created by Visual C++. 


c++
Windows::Graphics::Holographic::HolographicSpace^  m_holographicSpace = nullptr;
void init()
{
    m_holographicSpace = HolographicSpace::CreateForCoreWindow(window);
}

void update()//call very frame
{
    HolographicFrame^ holographicFrame = m_holographicSpace->CreateNextFrame();
}


c#
HolographicSpace m_holographicSpace;
void init()
{
  m_holographicSpace =  HolographicSpace.CreateForCoreWindow(Window.Current.CoreWindow);
}
void update()
{
    HolographicFrame holographicFrame = m_holographicSpace.CreateNextFrame();
}
 
My question is how could I hook or detour the function CreateNextFrame both for C++ and C# at runtime. In other world, when the UWP is launched, how could I find the function CreateNextFrame and detour it?
          

解决方案


My question is how could I hook or detour the function CreateNextFrame both for C++ and C# at runtime. In other world, when the UWP is launched, how could I find the function CreateNextFrame and detour it?
          

Hello, 

Can you explain more detailed what do you mean ?


这篇关于我怎样才能绕过UWP的功能,包括C ++和C#?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆