//主要是高版本windows与低版本windowsADO库版本不同导致的。
//#import "C:\ProgramFiles\Common Files\System\ado\msado15.dll" no_namespacerename("EOF","adoEOF")rename("BOF","adoBOF")
#if defined(ADO2_OLD)
#pragma message( "Using ADO2 TLB" )
#import "C:\Program Files\CommonFiles\System\ado\msado20.tlb" no_namespace rename("EOF","adoEOF")
#else
#pragma message( "Using Latest ADO" )
#import "C:\ProgramFiles\Common Files\System\ado\msado15.dll" no_namespacerename("EOF","adoEOF")
#endif