Hook/Overlay a DirectX game?

后端 未结 3 1615
北荒
北荒 2020-12-02 13:00

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

I\'ve tried getting a fullscreen C# window to overlap a game, however it wont. After researching a littl

3条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-02 13:16

    (disclosure: I work for this company)

    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 Spy Console and Direct Sound Capture are two examples that implements a console to hook COM objects like DirectX.

    Hope it helps.

提交回复
热议问题