系统错误:&H80004005(-2147467259)。 请教各位,这个问题怎么解决啊?

2024-12-15 00:32:46
推荐回答(3个)
回答1:

COM控件的&H80004005(-2147467259)错误
感谢IdShuLin(IdShuLin)对我上一个问题的回答,我们真的不谋而合,我已经给你分数了吧,因为我在管理的时候给分的界面不出来了。

我在解决了TCP/IP和事件处理两个问题以后,又碰到了新的问题。
1.我的控件在Active Test Container里面测试完全正确。
2.在VB里面报如下错误:系统错误&H80004005(-2147467259).未指定的错误。
请看MSDN里面的解释,跟没说一样,呵呵,微软好像经常干这种事情:
Standard COM Errors
The following table shows the most common standard COM errors returned by the properties and methods of the BizTalk Server objects.

Constant Value (32-bit) Description
S_OK 00000000 The standard return value used to communicate successful completion.
S_FALSE 00000001 An alternate success value, typically used to communicate successful, but non-standard completion. The precise meaning depends on the method or property in question.
E_UNEXPECTED 8000FFFF Catastrophic failure error.
E_NOTIMPL 80004001 Not implemented error.
E_OUTOFMEMORY 8007000E Out of memory error.
E_INVALIDARG 80070057 One or more arguments are not valid error.
E_NOINTERFACE 80004002 Interface not supported error.
E_POINTER 80004003 Pointer not valid error.
E_HANDLE 80070006 Handle not valid error.
E_ABORT 80004004 Operation aborted error.
E_FAIL 80004005 Unspecified error.
E_ACCESSDENIED 80070005 General access denied error.
MK_E_NOOBJECT 800401E5 The object identified by this moniker could not be found.

Additional information may be available using the global Err object. In Visual Basic, the Description property of the Err object may contain a text description of the error.

In C++, call the OLE DB method GetErrorInfo on the IErrorRecords interface to retrieve the most recently set IErrorInfo pointer in the current logical thread. The GetDescription method of the IErrorInfo interface may return a text description of the error. For more information about the GetErrorInfo method, go to the MSDN Online Library Web site (msdn.microsoft.com/library/default.asp) and browse to OLE DB Interfaces in the Platform SDK.
3.在Delphi中,设计状态时控件的m_hWnd属性为0,也就是说我不能在设计状态把WSASelect激活,当然了也没有必要。在运行态时和VB的错误类似。
还请高手指点迷津

回答2:

打开一个excel表,点击左上角的类似于开始的按钮,点击弹出页面右下角 “excel选项”->“加载项”->中间最下方“管理 excel 加载项->“转到”-> 标签打印向导取消 ->“确定”

回答3:

windows都有的