#include <afxtempl.h>
#include <afxdisp.h>
.....
把能包含的都包含了,可以用VARIANT不可以用_bstr_t,_variant_t
,控制台工程,支持MFC static link.
。。