   problem with D3DXLoadSurfaceFromFile [SOLVED]
  Im having a strange problem with the function D3DXLoadSurfaceFromFile, i have a bitmap file in the same directory as the project and it is spelt correctly, however the program keeps popping up the message box that the load failedif(FAILED(D3DXLoadSurfaceFromFile(Crosshair, NULL, NULL, L"crosshair.bmp", NULL, D3DX_DEFAULT, 0xFF000000, NULL))){MessageBox(0, L"Load surface from file failed", 0, 0);return false;}can anyone help me find the reason i am getting this problem, the Crosshair is defined as IDirect3DSurface9 *CrosshairProblem solved, thanks for looking :p   