|
From: Jim R. <jr...@er...> - 2003-09-21 00:20:27
|
I have a problem wrapping a COM server. Wrapping COM clients seems to work fine also. The COM Server is implemented as a JNI. The server works fine from a batch file. Running the code from the batch file, I see all the expected startup messages. I see the same thing from the wrapper (console mode), but this is immediately followed by a "QueryInterface" with a ID of iMarshal. This fails (which is OK) this request is then followed by an IUnknown request (which succeeds). HOWEVER after this, the COM client does not work. With the batch file I see the "CreateInstance" followed by lots of COM requests. With the wrapper, I see none of these. Attempts to access the interface fails. Anyone have any thoughts or suggestions? Where do the COM calls come from in the wrapper - I couldn't find any? Jim -- Jim Redman ErgoTech Systems, Inc. +1 505 662 5156 |