m_pConn.CreateInstance("ADODB.Connection");

CString StrConn;
StrConn = CString("Driver={Microsoft Visual FoxPro Driver};") 
+ CString("SourceType=DBF;") 
+ CString("SourceDB=")+str+CString(";") 
+ CString("Exclusive=No;");

m_pConn->Open((_bstr_t)StrConn,"","",adModeUnknown);在XP下到opem就提示驱动程序不支持此功能,这是为什么

解决方案 »

  1.   

    是所有XP系统都不行么?
    估计是那个装XP系统的机器缺少ADO支持吧。下载个MDAC新版本安装一下。
      

  2.   

    http://www.shengfang.org/blog/index.php?job=art&articleid=a_20050812_213610
      

  3.   

    Microsoft Visual FoxPro Driver不是每个机器都有
      

  4.   

    安装最新的MDAC提示说已经是最新的不让装
    按照3楼的方法还是不行,怎么办哪?