请教一个.net framework 的问题

来源: coorslight969 2010-12-08 17:00:53 [] [旧帖] [给我悄悄话] 本文已被阅读: 次 (1713 bytes)

我有一个小软件,估计是用 dot net 写的。 (一个游戏)

在XP上可以运行,win7家庭版也可以用。

xp的机器 用了很多年了, 今天新买个硬盘,装了win7 enterprise

结果这小游戏就不能用了。 一启动就得到这样一个窗口。

System.Runtime.InteropServices.COMException
Message: Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))
Source: System.Windows.Forms
Target: System.Object CoCreateInstance(System.Guid ByRef, System.Object, Int32, System.Guid ByRef)
StackTrace:    at System.Windows.Forms.UnsafeNativeMethods.CoCreateInstance(Guid& clsid, Object punkOuter, Int32 context, Guid& iid)
   at System.Windows.Forms.AxHost.CreateWithoutLicense(Guid clsid)
   at System.Windows.Forms.AxHost.CreateWithLicense(String license, Guid clsid)
   at System.Windows.Forms.AxHost.CreateInstanceCore(Guid clsid)
   at System.Windows.Forms.AxHost.CreateInstance()
   at System.Windows.Forms.AxHost.GetOcxCreate()
   at System.Windows.Forms.AxHost.TransitionUpTo(Int32 state)
   at System.Windows.Forms.AxHost.CreateHandle()
   at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
   at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
   at System.Windows.Forms.AxHost.EndInit()
   at Web.Game.Ultima.MainForm.A0LL6q()
   at Web.Game.Ultima.MainForm..ctor()
   at ShIuWaDHBK(uad.AAuvbJD.AAuvbJD()
InnerException:

win7 自带 。net framework . 莫非WIN7 企业版有啥特殊的地方吗?

谢谢啦

所有跟帖: 

你换硬盘大概license就不对了 -?ttу- 给 ?ttу 发送悄悄话 ?ttу 的博客首页 (0 bytes) () 12/08/2010 postreply 18:16:43

回复:你换硬盘大概license就不对了 -coorslight969- 给 coorslight969 发送悄悄话 (60 bytes) () 12/09/2010 postreply 07:16:18

回复:请教一个.net framework 的问题 -st.paul- 给 st.paul 发送悄悄话 (151 bytes) () 12/08/2010 postreply 22:38:58

回复:回复:请教一个.net framework 的问题 -coorslight969- 给 coorslight969 发送悄悄话 (178 bytes) () 12/09/2010 postreply 07:13:18

你确定程序是用.net写的吗? -寂寞远行客- 给 寂寞远行客 发送悄悄话 寂寞远行客 的博客首页 (77 bytes) () 12/08/2010 postreply 22:39:42

回复:你确定程序是用.net写的吗? -coorslight969- 给 coorslight969 发送悄悄话 (91 bytes) () 12/09/2010 postreply 07:15:31

这么跟你说吧 -寂寞远行客- 给 寂寞远行客 发送悄悄话 寂寞远行客 的博客首页 (237 bytes) () 12/10/2010 postreply 18:14:47

回复:请教一个.net framework 的问题 -飞蚁- 给 飞蚁 发送悄悄话 (113 bytes) () 12/09/2010 postreply 10:06:56

回复:回复:请教一个.net framework 的问题 -coorslight969- 给 coorslight969 发送悄悄话 (153 bytes) () 12/09/2010 postreply 21:18:13

哈哈:先试“吻妻”下运行Windows XP Compatibility Mode -逗蟋蟀- 给 逗蟋蟀 发送悄悄话 逗蟋蟀 的博客首页 (437 bytes) () 12/09/2010 postreply 10:24:19

这是说你的COM注册有问题 -黑驴少爷- 给 黑驴少爷 发送悄悄话 黑驴少爷 的博客首页 (148 bytes) () 12/09/2010 postreply 14:37:50

回复:这是说你的COM注册有问题 -coorslight969- 给 coorslight969 发送悄悄话 (83 bytes) () 12/09/2010 postreply 21:20:17

试过这个工具吗? -chirolike- 给 chirolike 发送悄悄话 (142 bytes) () 12/10/2010 postreply 13:36:14

请您先登陆,再发跟帖!

发现Adblock插件

如要继续浏览
请支持本站 请务必在本站关闭/移除任何Adblock

关闭Adblock后 请点击

请参考如何关闭Adblock/Adblock plus

安装Adblock plus用户请点击浏览器图标
选择“Disable on www.wenxuecity.com”

安装Adblock用户请点击图标
选择“don't run on pages on this domain”