你可以在VC的工具选项里定制一个MIDL命令
参数写/I "输入include path"  /out $(FileDir) "$(FilePath)"
初始化目录输入midl 所在目录
MSPDB60.dll考入midl所在目录