Friday, February 11, 2011

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

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?

  • 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.

    From Daniel
  • Thanks!!! It's helped me!!! :)

    Daniel : TYou should have posted this as an comment to my answer :). And btw. this would be a good time to accept my answer, because then the next question you post has a higher chance to get answered. People tend to ignore questions from users that don't accept answers.
    From Tim

0 comments:

Post a Comment