Windows error 0x88790002, -2005336062
Detailed Error Information
D3D10_ERROR_FILE_NOT_FOUND[1]
Message | The specified file was not found. |
---|
Declared in | winerror.h |
---|
HRESULT analysis[2]
Flags | Severity | Failure |
---|
Reserved (R) | false |
---|
Origin | Microsoft |
---|
NTSTATUS | false |
---|
Reserved (X) | true |
---|
Facility | Code | 2169 (0x879) |
---|
Name | FACILITY_DIRECT3D10[1] |
---|
Error Code | 2 (0x0002) |
---|
Questions
OK, first of all here is the problem code: D3DX10_IMAGE_LOAD_INFO loadInfo; ZeroMemory( &loadInfo, sizeof(D3DX10_IMAGE_LOAD_INFO) ); loadInfo.BindFlags = D3D10_BIND_SHADER_RESOURCE; ID3D10Resource *texture = NULL; LPCWSTR imageFile = L"../test.bmp"; D3DX10CreateTextureFromFile( pD3DDevice, imageFile, &loadInfo, NULL, &texture, &hr); if ( hr != S_OK ) { _com_error err(hr); LPCTSTR errMsg = err.ErrorMessage(); MessageBox(mHwnd, errMsg, L"Error", MB_OK [...]
read moreComments
Leave a comment
Sources
- winerror.h from Windows SDK 10.0.14393.0
- https://msdn.microsoft.com/en-us/library/cc231198.aspx
User contributions licensed under CC BY-SA 3.0