You don't tell where you downloaded DirectX from. Possibly from the CD/DVD? Then you should contact the maker from the CD?DVD (= maker of the Sims) why they put a non-working version of DirectX on their CD/DVD. Only they would know.
But I'm rather sure the version you get from http://www.microsoft.com/downloads/details.aspx?FamilyID=0a9b6820-bfbb-4799-9908-d418cdeac197&displaylang=en will pass the Windows Logo Test. It would be strange if it doesn't.
Note, however, that the download might require you to have a 'genuine' Windows XP. Which I assume you have, of course.
It's possible that the regular Windowsupdate also will download this same latest version of DirectX. When did you last visit Windowsupdate for the necessary security patches? There are new ones available every month (last time there were 9 or 10).
Hope this helps.
I got the sims two for my computer and i have windows xp and when i tried to download the sims it said that i needed to download direct x no problem except for the fact when it was downloading it stopped and a box popped up saying that it did not pass the Windows Logo Test how can i get thro that? i want to play my game im like in tears that i want to play so bad! Can someone please help me? email me at firstname.lastname@example.org thanks so much