|
From: Leif M. <le...@ta...> - 2004-06-18 08:05:31
|
Kristian,
I have not used COM myself. But there was another user several
months back you
had been having problems using the Wrapper. I added an FAQ entry
covering the
subject:
http://wrapper.tanukisoftware.org/doc/english/faq.html
Post back if that doesn't help. Try hard coding your java.exe
location into the
wrapper.conf with a fully qualified path. The path is not always what
you are
expecting. Especially when running as a service.
Cheers,
Leif
kri...@st... wrote:
>Hello,
>I have a java program that calls native code in a statically linked dll. Outside
>the wrapper there are no problems. My native code invokes a ms office
>application through the COM IDispatch interface.
>My application starts fine inside the wrapper to begin with. The first call to
>the dll succeds(simply starting the office application and establishing a
>reference to it) but on subsequent calls the dll is unable to maintain the
>reference to the com object and crashes. Im using what is called integration
>method one, with no modification to my source code.
>Im running jre 1.4.1, os win2k professional.
>Does anyone have any ideas of what the wrapper does that can cause such a behavior?
>
>Kristian Skotte
>
>
|