//如果是XP版本的還是走的預設的dll,WIN7及以上用指定的ado //其中winxp_msado15檔案夾是将XP中的ado檔案夾拷貝出來重命名的 if _WIN32_WINNT>= 0x0600 //大于等于WIN7 import "winxp_msado15msado15.dll" no_namespace rename( "EOF", "adoEOF") else import "C:program filescommon filessystemadomsado15.dll" no_namespace rename( "EOF", "adoEOF") endif