{NAME}已停止工作 [英] {NAME} has stopped working

查看:123
本文介绍了{NAME}已停止工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嘿,

我的朋友使用Visual Studio 2008为我编写了一个程序,该程序可以访问网站并刷新直到找到要查找的关键字,然后在IRC室中发布字符串.我不知道这是否很重要,只是尝试提供尽可能多的信息.

运行.exe文件时,出现错误消息:

Spotter已停止工作

问题导致程序无法正常运行. Windows将关闭程序并通知您是否有解决方案.

调试关闭程序

然后单击调试"并将Visual Studio用作调试器,它说:

创建表单时发生错误.有关详细信息,请参见Exception.InnerException.错误是:未注册类(HRESULT的异常:0x80040154(REGDB_E_CLASSNOTREG))

我正在使用Vista,我尝试以管理员身份运行文件并处于兼容模式,但是仍然遇到相同的错误. br/>
我尝试在装有XP的另一台计算机上运行它,但出现错误:

Spotter遇到问题,需要关闭.

此应用程序对我的朋友和他给它的另外2个人来说都很好用.

Ive尝试了许多不同的操作,例如重新安装Visual Studio和安装OWC.香港专业教育学院看了几个小时的修复,我找不到任何东西.运行其他一些相同的程序,但仍能得到我的帮助,我会遇到相同的错误.如果可以帮助任何人帮助我.

Hey,

My friend made a program for me using Visual Studio 2008, its a program that goes to a website and refreshes until it finds keywords its looking for then posts a string in an IRC room. I dont know if this matters im just trying to provide as much information as possible.

When I run the .exe file, I get an error saying:

Spotter has stopped working

A problem caused the program to stop working correctly. Windows will close the program and notify you if a solution is available.

Debug Close program

Then I click debug and use Visual Studio as a debugger and it says:

An error occurred creating the form. See Exception.InnerException for details. The error is: Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))

I am using Vista, I tried running file as an administrator and in compatibility mode however I still get the same error.

I tried running it on a different computer with XP on it and I get the error:

Spotter has encountered a problem and needs to close.

This application works fine for my friend and the 2 other people he gave it to.

Ive tried many different things like reinstalling Visual Studio and installing OWC. Ive looked on google for hours for fix and I cant find anything. I get the same error running a few other programs of the same still of which I have the source if that can help anyone help me.

推荐答案

您好,

调试器发出的错误消息("未注册的类".)表明我们需要注册一个类.为了解决此问题,我们可能需要:
1.找出需要注册的类.
2.使用
Hello,

The error message from the debugger ("Class not registered.") indicates that we need to register one class. In order to fix the issue, we may need to:
 1. find out the class need to be registered.
 2. register the class using regasm.exe.

Another aspect, would you please open the InnerException and find more detailed information?

Best regards,


这篇关于{NAME}已停止工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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