Original Post
Hi All i have a problem using D3DXLoadSurfaceFromFile function, my program crash when it come to execute this function, i really do not know why ? i call it as follow HRESULT rslt; LPDIRECT3DSURFACE9 MySrf; rslt=D3DXLoadSurfaceFromFile(MySrf,"logo.pmb",NULL,D3DX_DEFAULT,0xFF000000,NULL); is there any thing wrong with this call thanks For any help.