"d3dx9_41.dll was not found"

I’ve just bought the game, but as soon as I finished installing, I got a message that said “The code execution cannot proceed because d3dx9_41.dlll was not found. Reinstalling the program may fix this problem.” I reinstalled the game about four times, and nothing has worked. Any help would be greatly appreciated. Thanks.