Click here to Skip to main content
15,906,097 members

Comments by Member 10809885 (Top 11 by date)

Member 10809885 12-Mar-15 23:53pm View    
oh sorry thats what i meant to say...thanks
Member 10809885 2-Mar-15 10:47am View    
Thanks very much. After trying so many times so many times it turns out an HRESULT of 1 is failed and 0 is success
Member 10809885 25-Feb-15 11:29am View    
thanks, I will try that
Member 10809885 24-Feb-15 19:34pm View    
Directx initialization is failing
Member 10809885 24-Feb-15 18:41pm View    
@barneyman I checked for failure like this and i got the message box telling directx 9 had failed from the main.cpp file. Am i still doing something wrong.

HRESULT hr = mDirectx9Obj->CreateDevice(D3DADAPTER_DEFAULT,D3DDEVTYPE_REF,hwnd,D3DCREATE_SOFTWARE_VERTEXPROCESSING,
&mDirectx9Presentation, &mDirectx9Device);
if(FAILED(hr))
{
//MessageBox(0,"Directx device not created",0,0);
return false;
}
return true;