Its possible this is AOEII's way of reporting missing DirectX components.
Try going to
www.microsoft.com/directx and clicking the download button.
This will install DirectX 9.0c on your system. It will NOT interfere with
the normal DirectX10 you got with Vista. What it will do is add some missing
pieces that MS didn't include with DirectX10.
Hope that helps!
Mark