钩/叠加DirectX的游戏? [英] Hook/Overlay a DirectX game?

查看:163
本文介绍了钩/叠加DirectX的游戏?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

谁能告诉我如何挂钩/覆盖DirectX的游戏在C#?

Can anyone tell me how to hook/overlay a DirectX game in C#?

我试图得到一个全屏C#窗口重叠游戏,但它不会。
研究过了一会儿,我发现我需要挂钩游戏,然后显示C#的窗口。

I've tried getting a fullscreen C# window to overlap a game, however it wont. After researching a little, I found out that I need to hook the game and then display the C# window.

任何人能解释我会怎么做呢?
我将能够通过的DirectX的游戏,以显示一个C#形式?

Can anyone explain how I would do this? Would I be able to display a C# form over a DirectX game?

推荐答案

(披露:我为这家公司工作)

(disclosure: I work for this company)

您可以尝试我们的 Deviare API ,它具有功能钩从C#的COM对象。
这是一组可以从任何编程语言(支持COM)中使用的COM对象。与源$ C ​​$ C的一篇文章显示如何捕捉视频并添加覆盖可用:<一href=\"http://blog.nektra.com/main/2013/07/23/instrumenting-direct3d-applications-to-capture-video-and-calculate-frames-per-second/\"相对=nofollow称号=插装Direct3D应用程序捕捉视频并计算FPS>插装Direct3D应用程序捕捉视频并计算FPS

You can try our Deviare API, it has functionality to hook COM objects from C#. It's a set of COM objects that can be used from any programming language (supporting COM). An article with source code showing how to capture video and add an overlay is available: instrumenting Direct3D applications to capture video and calculate FPS

COM间谍控制台并的直接声音捕获是实现了一个控制台钩COM对象像DirectX的两个例子。

COM Spy Console and Direct Sound Capture are two examples that implements a console to hook COM objects like DirectX.

希望它帮助。

这篇关于钩/叠加DirectX的游戏?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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