我的电脑是Window7旗舰版,不知道为什么安装64位的出错。
1、安装MapWinGIS-only-v4.8SR-64bit-installer,提示控件注册成功;但在VS2010无法在COM组件中找到Map Control,手动添加也提示自动注册失败;
2、无奈之下,安装MapWinGIS-only-v4.8SR-32bit-installer,提示控件注册陈宫,在VS2010也顺利添加了Map Control控件。
请帮忙,为什么在Window7旗舰版下,64位控件无法在VS2010使用。
Comments: ** Comment from web user: gstandard **
1、安装MapWinGIS-only-v4.8SR-64bit-installer,提示控件注册成功;但在VS2010无法在COM组件中找到Map Control,手动添加也提示自动注册失败;
2、无奈之下,安装MapWinGIS-only-v4.8SR-32bit-installer,提示控件注册陈宫,在VS2010也顺利添加了Map Control控件。
请帮忙,为什么在Window7旗舰版下,64位控件无法在VS2010使用。
Comments: ** Comment from web user: gstandard **
I just gave the answer in my post below yours.
The MapWinGIS is a 32 bit control. You need to download the 32 bit version, even though you have the 64 bit version of Windows 7. Also, in Visual Studio, make sure your project configuration setting is set for CPU x86, rather than CPU Any.
If you do these things, it will work.
Cheers!