Capture Screenshot using DirectX

What is Moss ? Forums Capture Screenshot using DirectX

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #479
    Alkatrank
    Participant

    Hi,
    i tried to take a screen using some .NET languages but i can capture a screenshot only for Win32 view (Desktop). I also tried to use “Microsoft.DirectX” and “Microsoft.DirectX.Direct3D” but with no success. I need also just a command-line software where i can take the in-game screenshot using directx like this:

    capture.exe /capture=[my_destination].jpg

    Or maybe if you can, an example code.
    Can you help me?

    Regards,
    Alkatrank

    #1233
    ADM_nohope
    Keymaster

    there are many ways to capture a screen , depending both of OS and game video API used.
    if you only plan to support only windows 10 , dxgi is the answer to your question.
    if you plan to handle more platform the answer is far more complicated

    #1234
    Alkatrank
    Participant

    I’m actually trying to capture the in-game screenshot in “Warface” of Crytek, using D3D9, but i can’t find a good library to take a screenshot. Too old for a project that works on Windows 7/8/8.1 and 10, specially using D3D9. Have you some tips about some library that i can use for C++ or C# or VB.NET as u wish.

    Regards,
    Alkatrank

    #1235
    ADM_nohope
    Keymaster

    there is no library , you have to use directx 9 api or dxgi , case by case

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.

Play Cool , Play Hard but Play Fair