I don't have any idea. I just noticed that you were using a DirectX API call and thought that not having the SDK installed might be the source of your errors.