我用indy9.0.18,虽然能从IdDNSResolver1->QueryResult中得到IdDNSResolver1->QueryResult->Items[i]->RecType和RData,但是不知怎样从其中取得MX,虽然有paper用MX=Dynamic_cast(IdDNSResolver1->QueryResult->Items[i])->ExchangeServer);但我查了help,这是错的。也无法用TMXRecord()把RData强行转换出EXCHANGE,出错信息是:没有对应TMXRecord()。请各位帮忙,万分感谢!
本文地址:http://com.8s8s.com/it/it4626.htm