接口问题 [英] Problem with interfacing
问题描述
你好,
我看到这个项目使用PC控制电器 [
警告2变量"axHwinterface1"未声明或从未分配. C:\ Documents and Settings \ Md Kamrul Islam \ My Documents \ Downloads \ Control_e_appliances \ Control_e_appliances \ Form1.cs 381 0
警告4无法加载引用"AxHWINTERFACELib"的类型库.图书馆未注册. (来自HRESULT的异常:0x8002801D(TYPE_E_LIBNOTapped))Control_e_appliances
警告5无法加载引用"HWINTERFACELib"的类型库.图书馆未注册. (来自HRESULT的异常:0x8002801D(TYPE_E_LIBNOTapped))Control_e_appliances
警告6找不到引用的组件"AxHWINTERFACELib".
警告7找不到引用的组件"HWINTERFACELib".
错误3找不到类型或名称空间名称"AxHWINTERFACELib"(您是否缺少using指令或程序集引用?)C:\ Documents and Settings \ Md Kamrul Islam \ My Documents \ Downloads \ Control_e_appliances \ Control_e_appliances \ Form1 .cs 16 11 Control_e_appliances
您能给我解决这个问题吗?
Hello,
I see this project Control Electrical Appliances using PC[^] in here , when I run this project in my pc it given the following error
Warning 1 Could not find type ''AxHWINTERFACELib.AxHwinterface''. Please make sure that the assembly that contains this type is referenced. If this type is a part of your development project, make sure that the project has been successfully built. 0 0
Warning 2 The variable ''axHwinterface1'' is either undeclared or was never assigned. C:\Documents and Settings\Md Kamrul Islam\My Documents\Downloads\Control_e_appliances\Control_e_appliances\Form1.cs 381 0
Warning 4 Cannot load type library for reference "AxHWINTERFACELib". Library not registered. (Exception from HRESULT: 0x8002801D (TYPE_E_LIBNOTREGISTERED)) Control_e_appliances
Warning 5 Cannot load type library for reference "HWINTERFACELib". Library not registered. (Exception from HRESULT: 0x8002801D (TYPE_E_LIBNOTREGISTERED)) Control_e_appliances
Warning 6 The referenced component ''AxHWINTERFACELib'' could not be found.
Warning 7 The referenced component ''HWINTERFACELib'' could not be found.
Error 3 The type or namespace name ''AxHWINTERFACELib'' could not be found (are you missing a using directive or an assembly reference?) C:\Documents and Settings\Md Kamrul Islam\My Documents\Downloads\Control_e_appliances\Control_e_appliances\Form1.cs 16 11 Control_e_appliances
could you please give me a solution for this
推荐答案
我建议您加载此页面( ^ ]),然后使用文章文字下方的新消息"问您的问题.作者将收到有关您的帖子的电子邮件通知,并且将对其进行更改,而不会通知您的问题并予以回答.
-SA
I suggest you load this page (Control Electrical Appliances using PC[^]) and use "New Message" below the article text to ask your questions. The author will receive e-mail notification on your post and will be given a change no notice your questions and answer them.
—SA
0x8002801d是COM未注册库"错误.
我想您需要注册一个COM库(可能是hwinterface.ocx)
最好的问候
Espen Harlinn
0x8002801d is the COM "Library Not Registered" error.
I guess you need to register a COM library (probably hwinterface.ocx)
Best regards
Espen Harlinn
问这个问题的最好的人是文章的作者.
您可以在文章页面的底部此处发布问题. [
The best person to ask this is the author of the article.
You can post a question at the bottom of the article page, here[^]
这篇关于接口问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!