请教error C3646: 未知重写说明符
1>------ 已启动生成: 项目: FramesPerSecond, 配置: Release Win32 ------
1>正在编译...
1>main.cpp
1>.\main.cpp(25) : error C3646: “chuanLPDIRECT3D9”: 未知重写说明符
1>.\main.cpp(25) : error C3646: “g_D3D”: 未知重写说明符
1>.\main.cpp(25) : error C2072: “GetFPS”: 函数的初始化
1>.\main.cpp(25) : error C2440: “初始化”: 无法从“int”转换为“void (void)”
1> 没有转换为函数类型,但有转换为函数的引用或指针
1>.\main.cpp(106) : error C2065: “g_D3D”: 未声明的标识符
1>.\main.cpp(111) : error C2227: “->GetAdapterDisplayMode”的左边必须指向类/结构/联合/泛型类型
1> 类型是“'unknown-type'”
1>.\main.cpp(131) : error C2227: “->CreateDevice”的左边必须指向类/结构/联合/泛型类型
1> 类型是“'unknown-type'”
1>.\main.cpp(266) : error C2227: “->Release”的左边必须指向类/结构/联合/泛型类型
1> 类型是“'unknown-type'”
1>生成日志保存在“file://c:\Documents and Settings\Administrator\桌面\FPS1\FPS\Release\BuildLog.htm”
1>FramesPerSecond - 8 个错误,0 个警告
========== 生成: 0 已成功, 1 已失败, 0 最新, 0 已跳过 ==========