This question is towards SharpDX and not exactly Monogame. I hope someone might help me out since SharpDX forum is officially closed.
I am trying to make this ScreenCapture example to work from SharpDX’s github. It gives me errors about DuplicateOutput
method, Output1
class and OutputDuplicateFrameInformation
struct, because all 3 don’t exist under SharpDX.DXGI namespace.
From their documentation DuplicateOutput method, Output1 class and OutputDuplicateFrameInformation struct, all exist in SharpDX.DXGI.dll 2.4.2.0
.
I got the current .dlls I am using (SharpDX.dll, SharpDX.DXGI.dll and SharpDX.Direct3D11.dll) by installing SharpDX-SDK-2.6.3.exe and then opening it (it prompts you to extract its contents) and I got those 3 dlls from the \Bin\DirectX11-net40
folder. The version of those dlls is the latest 2.6.3 instead of 2.4.2.0
I also tried the dlls from Monogame: C:\Program Files (x86)\MonoGame\v3.0\Assemblies\Windows8
. Those dlls (note that they are version 2.5.0) only gave me 2 errors instead of 3. It didn’t complain about Output1
class this time.
How am I supposed to get SharpDX.DXGI.dll 2.4.2.0
? It is nowhere to be found on their website.