Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Viewing all articles
Browse latest Browse all 18858

How to connect native DirectInput (DX 11) to WPF window?

$
0
0

I have game engine based on native C++ and work as another process (.exe)

On the other side I have WPF application which communicate with engine via socket. On the start I create a WPF window and send HWND and HInstance to my engine.

D3D11 output rendered image to my WPF window without problems, but DirectInput doesn`t work at all.

I want to know what I am doing wrong? How to link WPF window to native DirectInput considering my situation? Need I create any events on WPF side or something else?

Please, help me to solve this problem!


Viewing all articles
Browse latest Browse all 18858

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>