Windows error 0x88790002, -2005336062

Detailed Error Information

D3D10_ERROR_FILE_NOT_FOUND[1]

MessageThe specified file was not found.
Declared inwinerror.h

HRESULT analysis[2]

FlagsSeverityFailure
Reserved (R)false
OriginMicrosoft
NTSTATUSfalse
Reserved (X)true
FacilityCode2169 (0x879)
NameFACILITY_DIRECT3D10[1]
Error Code2 (0x0002)

Questions

0votes
1answer

D3DX10CreateTextureFromFile returns unknown error

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 more
c++
directx-10

Comments

Leave a comment

(plain text only)

Sources

  1. winerror.h from Windows SDK 10.0.14393.0
  2. https://msdn.microsoft.com/en-us/library/cc231198.aspx

User contributions licensed under CC BY-SA 3.0