I was working perfectly normal programming then started giving this error .. In: ``` Set gTexture(TextureRec.Texture).Texture = Direct3DX.CreateTextureFromFileInMemoryEx(Direct3D_Device, _ ImageData(0), _ UBound(ImageData) + 1, _ newWidth, _ newHeight, _ D3DX_DEFAULT, 0, D3DFMT_UNKNOWN, D3DPOOL_MANAGED, D3DX_FILTER_POINT, D3DX_FILTER_NONE, ByVal (0), ByVal 0, ByVal 0) ```![](http://i.imgur.com/LmNjH.png) My hardware configuration: Amd Athlon X2 3.1Ghz GeForce GT 520 1GB 6GB Ram Sorry my bad english..