I'm not sure if this is the right forum. I looked at several and this seemed the best fit. Currently I think I may have found a bug in DirectX 11.
When calling GetDisplayModeList, just like the example at http://msdn.microsoft.com/en-us/library/windows/desktop/bb174549%28v=vs.85%29.aspx, I get a crash. This does not normally happen except in a specific circumstance.
- Windows 7
- Visual Studio 2012
- Using remote log in to run code.
- Linking with Windows SDK (not DirectX SDK)
- The machine has no monitor
- Win32 or Win64
GetDisplayModeList seems to not crash when connecting a monitor to the machine and manually running the code from it (no remote log in). It feels like there is logic in the function that expects a monitor to be attached which is not my case.
If anybody knows a better place to ask about bugs I am all ears.