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

1 comment:

  1. posting just because this page appears in google results.

    Either your dll is not registered using regasm or your calling your COM object from a 64bit JRE

    see here