Thanks, now it's working. And I know, d3d9.h was included wink