Saturday, February 28, 2009

COleDispatchDriver/_variant_t

fix vc compiler error:

#include <afxdisp.h> /* // fix error C2504: 'COleDispatchDriver' : base class undefined # MFC Automation classes(for excel) right after "afxwin.h"//add to stdafx.h */


#include <comdef.h> /* // fix error C2065: '_variant_t' : undeclared identifier # */