あう。935は私の学習不足なだけですので・・・

ちなみに、
#ifndef _DEBUG
#pragma comment(lib, "d3d8.lib")
#endif

を頭に入れても、エラーは変わりませんでした(933のエラー文)。
う〜ん、お手上げです。