Very simple. Easy to understand.
Only one problem...
When I try running your base I get an error saying that d3dx9.h is not found, therefore this .dll will not run.
I have d3dx9.h in the right directory, yet it's still not loading, what directory did you use when compileing the .dll?