Visual FoxPro驱动程序,用于64位Windows 7 [英] Visual FoxPro driver for 64 bit Windows 7

查看:822
本文介绍了Visual FoxPro驱动程序,用于64位Windows 7的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经从链接安装了Visual FoxPro驱动程序在我的64位Windows 7 Home Premium操作系统上,并尝试使用REGSVR32注册vfpoledb.dll。我可以注册该dll,但是运行我的访问VFP数据库的应用程序时,将引发以下错误:

System.InvalidOperationException:'VFPOLEDB.1'提供程序未在本地计算机上注册

I've installed Visual FoxPro driver from this link on my 64 Bit Windows 7 Home Premium OS and tried to register vfpoledb.dll using REGSVR32. I could able to register this dll but when run my application which accesses VFP database is throwing the following error:
System.InvalidOperationException: The 'VFPOLEDB.1' provider is not registered on the local machine.

同一应用程序在32位Windows 7 Home Premium操作系统中运行正常,没有任何问题。我已经在Google上搜索了64位VFP驱动程序,发现从此链接。请帮助我解决此问题。

The same application is working fine in 32 bit Windows 7 Home Premium OS without any issues. I have googled for 64 bit VFP driver and found out that there are no VFP drivers for 64 bit OS from this link. Kindly help me to resolve this issue.

推荐答案

我发现没有适用于64位OS的64位VFP驱动程序。我们要做的就是更改项目属性中的build选项,并将Platform Target设置为X86而不是Any CPU。为X86构建应用程序。请参考有关更多详细信息。

I have found out that there is no 64 bit VFP Driver for 64 bit OS. All we have to do is to change the build option in project properties and set the Platform Target to X86 instead of Any CPU. Build the application for X86. Please refer to this for more details.

这篇关于Visual FoxPro驱动程序,用于64位Windows 7的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆