Thanks, It turned out that my d3dx9_43.dll was the reason I replaced my x32 version with the x64 one.