我有一个小软件,估计是用 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 企业版有啥特殊的地方吗?
谢谢啦