Wednesday, December 23, 2009
Jacob can't co-create object exception
This exception comes up every now and then. It sucks because you don't see it right away too. Anyway a preliminary fix I have come up with is to make the object that utilizes Jacob a global variable. That way the Jacob threads are only created once and the communication to the COM object is only instantiated once. It seems to work for my purposes. I'm sure something else will come up later...lol.
Subscribe to:
Post Comments (Atom)
posting just because this page appears in google results.
ReplyDeleteEither your dll is not registered using regasm or your calling your COM object from a 64bit JRE
see here http://netheadaches.wordpress.com/2012/04/22/jacob-cant-co-create-object/