“com.jacob.com.ComFailException: Can't find moniker” Why?

爱⌒轻易说出口 提交于 2019-12-11 04:39:59

问题


I use jacob last version and jacobgen.

I put all need dll in c:\windows\system32

I generated wrapper about dll by jacobgen.

But I got an exception. Google didn't help. :(

com.jacob.com.ComFailException: Can't find moniker

May be need registy dlls in windows registry?


回答1:


COM objects have to be registered to be found. It does not matter in which folder they reside.

Call

regsvr32 mycomdll.dll

on the dll.



来源:https://stackoverflow.com/questions/2904225/com-jacob-com-comfailexception-cant-find-moniker-why

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!