发生异常 [英] exception occurs
本文介绍了发生异常的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我们正在计算通过形状文件的最短路径,我们正在使用以下文件
-mapobject2.dll
-axmaponbect2.dll
交流数据库和形状文件,但会引发以下异常
由于以下错误,检索具有CLSID {9BD6A66F-CE75-11D1-AF04-204C4F4F5020}的组件的COM类工厂失败:80040154."
请指导我
解决方案
简单的人
在运行菜单中,输入& ENTER
regsvr32 mapobject2.dll regsvr32 axmaponbect2.dll
但是如果文件不在系统路径中,则需要指定完整路径
示例
regsvr32 d:\prg\dlls\mapobject2.dll
使用这些dll之前,请先使用regsvr32注册它们.完整程序
we r calculating shortest path through shape files and we are using following files
- mapobject2.dll
-axmaponbect2.dll
to communicate database and shape files but it throws the following exception
"Retrieving the COM class factory for component with CLSID {9BD6A66F-CE75-11D1-AF04-204C4F4F5020} failed due to the following error: 80040154."
please guide me
解决方案
it''s simple man
In Run Menu, type & ENTER
regsvr32 mapobject2.dll regsvr32 axmaponbect2.dll
but if the files are not in system path you need to specify the fullpath
example
regsvr32 d:\prg\dlls\mapobject2.dll
Before using those dlls, register them using regsvr32.
PLZ TEL ME HOW CAN I REGISTER THEM.....TEL ME THE FUL PROCEDURE
这篇关于发生异常的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文