iejeecee / SharpDX-Wpf-Direct3D-11-Example

Example of Direct3D 11 hosted inside a WPF application using SharpDX and WPFDXInterop eliminating airspace issues
5 stars 1 forks source link

Windows11 run it get exception #1

Open KnewHow opened 1 year ago

KnewHow commented 1 year ago

I can compile success in my windows11, but when I run it, it gives me an error:

FileNotFoundException: 未能加载文件或程序集“Microsoft.Wpf.Interop.DirectX.dll”或它的某一个依赖项。找不到指定的模块。

I use Debug mode and x64 and DirectX is DirectX12, It can't run on win11? Can you give me a help?

iejeecee commented 1 year ago

Have you installed https://github.com/Microsoft/WPFDXInterop?

It is required for the code to work

KnewHow commented 1 year ago

I have install the Microsoft.Wpf.Interop.DirectX-x64, But I found another unbelievable phenomenon:my colleague have same windows11 with me, he can run it success! Why?