Nobody/Anonymous
2007-09-18
Dear All,
i'm really new using jcom. at the moment i'm using jacozoom for java-com bridge, but i would like to test jcom, and may be i'll change to it, if you can solve my problem.
i have a com object written in visual foxpro 7.0. if i have some problem in there i call a COMRETURNERROR(cExceptionSource, cExceptionText) function.
it was working with jacozoom to get the proper exception text in java, but using jcom i receive only something like this:
jp.ne.so_net.ga2.no_ji.jcom.JComException: IDispatch::Invoke(0x2,1) failed HRESULT=0x80020009L
at jp.ne.so_net.ga2.no_ji.jcom.IDispatch._invoke(Native Method)
at jp.ne.so_net.ga2.no_ji.jcom.IDispatch.method(IDispatch.java:223)
at jcomtest.main(jcomtest.java:17)
how could i get the proper exception message?
thank you
Ivan