如何解决D3D11 createdevice失败? [英] How to solve D3D11 createdevice failed?

查看:3525
本文介绍了如何解决D3D11 createdevice失败?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

今天你好今天我开始阅读Frank Luna的书:DirectX 11编程和我在文件BoxDemo中遇到错误(我编译成功:D3D11 CreateDevice失败。有人可以帮助我,因为我没有找到任何答案。



Imgur:互联网上最棒的图片 [ ^ ]



< b>我尝试了什么:



我在其他游戏中发现了类似的问题,但我的gpu和windows 7支持dx11,即使我试图重新安装gpu驱动程序,但它没有解决我的问题。

Hello today today I started to read Frank Luna's book: DirectX 11 Programming and I encountered with error in file "BoxDemo" (I compiled it successfully: D3D11 CreateDevice failed. Could somebody help me because I didn't find any answer.

Imgur: The most awesome images on the Internet[^]

What I have tried:

I found similar problems on other games but my gpu and windows 7 support dx11, even I tried to reinstall gpu driver, but it didn't solve my problem.

推荐答案

获取<$ h $ C> c> HRESULT D3D11CreateDevice function(Windows) [ ^ ]并查找( d3derr.h Direct3D 11返回代码(Windows) [ ^ ]和 DXGI_ERROR(Windows) [ ^ ])。



如果没有具体信息,这里没有人可以帮助你(发布应用程序生成错误信息的图像,甚至没有显示相关代码也没用)。
Get the HRESULT return value of the D3D11CreateDevice function (Windows)[^] and look it up (d3derr.h, Direct3D 11 Return Codes (Windows)[^], and DXGI_ERROR (Windows)[^]).

Nobody here can help you without specific information (posting the image of an application generated error message without even showing the related code is useless).


这篇关于如何解决D3D11 createdevice失败?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆