Another fine question would be what revision are you using? You are using Dolphin SVN revisions, aren't you?
LilyPad is a PS2 emulator pad plugin and will not work for Dolphin. MegaPad is probably a similar story. You have to wonder where people get the idea that this kind of thing will work.
And yes, update your DirectX runtimes! Download details: DirectX End-User Runtime