How to enable Direct3D 9 debug output on Windows 10? - windows-10

I'm trying to figure out a bug with a Direct3D 9 app on a Windows 10 system. I've tried installing the DirectX SDK and opening its control panel as on previous Windows versions to enable running Direct3D in debug mode, but the options to enable it are all greyed out (including while running it as Administrator):
Both the 32-bit and 64-bit DirectX Control Panel apps have all of these control greyed out.
I also tried manually changing the HKCU\SOFTWARE\Microsoft\Direct3D\LoadDebugRuntime to 1, but that didn't seem to have any effect (i.e. still no D3D debug output in DebugView.)
What is the correct way to enable Direct3D 9 debug output in Windows 10?

Legacy Direct3D 9 debugging is not supported on Windows 8.x, Windows 10, or Windows 11. The last OS that supported it was Windows 7.
The DirectX SDK itself is end-of-life. See Microsoft Docs.
For new projects, the recommendation is to use Direct3D 11 or Direct3D 12 and avoid using the legacy DirectX SDK for dependencies. See Living Without D3DX, Legacy D3DX on NuGet, and this blog post.

Related

visual c# application havey flickering on another machine

i have developed an application (game) on visual studio 2012 (WFA) in C#, the application includes multithreading and graphics objects (pictureboxs, bit maps, labels...).
now the app runs great on the source pc (the computer it was developed on). but when i try to run it on my laptop it's run with very heavy flickering which is very weird.
source pc - windows 7 net framework 4.6 .
laptop - windows 10 net framework 4.6
*note - both are very strong machines who can run battlefield 4 with no problem.
what is going on??
You've got a software component issue - something that works correctly in 32 bit winDoze is broken in the 64 bit version. Try building your application as specifically 32 bit and run it on the 64 bit machine. Either it will complain about a missing (32 bit) driver (or other softwar component) or it will work correctly.

How to install D3D11 SDK Layers for Windows 10 offline

I got the following error when I was debugging my D3D application in VS2015.
D3D11CreateDevice: Flags (0x2) were specified which require the D3D11 SDK Layers for Windows 10, but they are not present on the system. These flags must be removed, or the Windows 10 SDK must be installed. Flags include: D3D11_CREATE_DEVICE_DEBUG
I know I need to enable Graphics Tools in Win10 or run Dism /online /add-capability /capabilityname:Tools.Graphics.DirectX~~~~0.0.1.0 to enable it.
But the machine I am working on are not allowed to connect to the internet. Is there a way to enable that offline?
Thanks a lot.
For the November 2015 update (build 10586) of Windows 10, you can find the Feature On Demand CABs for the Graphics Tools package here. You can install it via dism as noted in the documentation with that package.
Keep in mind that there's a lot of stuff in Windows 10 that's a number of 'feature on demand' parts of Windows including .NET 3.5, language packs, etc.
Not sure, but maybe the Graphic tools can ben installed from the iso of your Win10 ?

Limitations of Windows 8 Desktop duplication using DXGI?

I am working on a remote desktop application which works fine on windows 7 and its previous version. but In windows 8 mirror driver has removed so that we have to develop the same remote desktop feature using DXGI. I have read the documentation but I want to know Is there any limitation of DXGI ?
If any one experience some limitation while creating desktop emulation
in windows 8 please share.

handheld with windows embedded 7

I'm a little new on Window Embedded Compact 7.0(WEC 7) so I have some question about it :
1- Is there any handheld device that runs with it? All I found run on 6.5 and lower win CE versions ( check this link please : http://www.microsoft.com/windowsembedded/en-us/evaluate/windows-embedded-handheld-devices.aspx)
2- what's its .Net framework version? .NET CF 3.5 or .NET CF 3.7 ? I don't know whether its technology related to windows 7 or windows phone 7. If its .NET version is .NET CF 3.7, can I run my old .NET 3.5 apps over it or I should change them to silverlight version? (As I know I cannot run them on windows phone 7)
3-I couldn't find any screenshot of it.
4- For window phone 7, there is a free add-on on VS 2010 for development (although publishing is not free). Is there any free development toolkit & emulator(handheld emulator indeed)?
Thanks in advance
4-..or Completely I'm in a wrong way of thinking? ;-)
About your questions:
1- Is there any handheld device that runs with it?
Yes there are.
The Windows Embedded Partner Program might give you more alternatives
2- what's its .Net framework version? .NET CF 3.5 or .NET CF 3.7 ?
Windows Embedded Compact 7 includes the .NET Compact Framework 3.5
I don't know whether its technology related to windows 7 or windows phone 7.
AFAIK, it is not related to Windows 7, and it is not realated at all with Windows Phone 7.
If its .NET version is .NET CF 3.7, can I run my old .NET 3.5 apps over it?
The .NETCF version is 3.5, so yes, you can run your old >NETCF applications.
or I should change them to silverlight version?
If you do that, then your application will not work anymore. WinCE 7 does not support managed silverlight, it only supports something that is somehow called Silverlight but it actually targets development in native code using C++.
3-I couldn't find any screenshot of it.
Here, enjoy:
4- For window phone 7, there is a free add-on on VS 2010 for development (although publishing is not free). Is there any free development toolkit & emulator(handheld emulator indeed)?
You can use VS 2008, but AFAIK it is not possible at this time to create an emulator for it, since Microsoft has not released the Emulator BSP for WinCE 7.

How to emulate Windows CE 5.0 on ARMV4i architecture

I am developing Qt application for Windows CE 5.0 device.
My setup is:
Qt 4.7.3 compiled with Visual Studio 2005 using Windows CE 5.0 Standard SDK.
Everything works OK on real device, though I would like to test software "locally" in an emulator.
Visual Studio 2005 provides Pocket PC 2003, Windows Mobile 6 emulator images but no Windows CE 5.0.
Windows Microsoft CE 5.0 Emulator does that, but its sample device is based on i486, so this doesn't work for me...
I found some kind "Plaftorm Builder" and "ARMV4i BSP for Windows CE 5.0", but I am not building device or it's SDK, and I am not interested in specific device at all. All i need is "generic" AMRv4 WinCE 5 image for basic testing...
So what is possible outcomes for me?
Microssoft stopped providing Windows CE OS images for the emulator after the x86 emulator was abandoned, and for good reason. Windows CE is a modular OS so it's not possible to create an Emulator OS image that matches what all devices are and my guess is that there were too many support calls and complaints about how the emulator either contained something unwanted or didn't contain something that was wanted. The point being that there is no "generic Windows CE device" so there's no way to create an emulator of one.
The response from Microsoft was to provide the ARM-based Device Emulator 3.0 (available as a Standalone Release) and a BSP for the emulator so developers can create their own OS images that match their actual target hardware OSes.
So your options are to either create an OS yourself or find an OEM that provides an emulator image for their device (I'm not aware of one offhand, but I very, very rarely use the emulators so I've never bothered to look).

Resources