|
Problems with Variant serialization: msg#00024windows.devel.jawin
Hello, I'm using Jawin with a Redemption library to read mail stored in Outlook. I have to say that Jawin is really fantastic, I can do almost anything I could do in VB. "Almost" is the key, though... The problem I have manifests when I try to get an indexed property of a DispatchPtr object, which is supposed to contain an array of bytes. The call looks like that: DispatchPtr att = ... Object o = att.get("Fields", new Integer(922812674)); This object has many other properties, mostly strings and integers, and retrieving them works just fine. However, the line above produces the following: GenericStub.dispatchInvoke v:V 03 00 02 01 01 37 00 00 .....7.. 00 00 00 00 00 00 00 00 ........ 00 00 00 00 00 00 00 00 ........ 00 00 00 00 00 00 00 00 ........ org.jawin.COMException: 8000ffff: Cannot serialize vartype 17 at org.jawin.marshal.GenericStub.dispatchInvoke0(Native Method) at org.jawin.marshal.GenericStub.dispatchInvoke(GenericStub.java:84) at org.jawin.DispatchPtr.getN(DispatchPtr.java:211) at org.jawin.DispatchPtr.get(DispatchPtr.java:165) ... This is with Jawin 1.0.19 release. I tried to find something in the documentation, but it appears that vartype 17 is defined as a VT_UI1 (?), and it appears to be supported... Could somebody provide an insight as to how to solve this issue? Thank you! -- Best regards, Andrzej Bialecki ------------------------------------------------- Software Architect, System Integration Specialist CEN/ISSS EC Workshop, ECIMF project chair EU FP6 E-Commerce Expert/Evaluator ------------------------------------------------- FreeBSD developer (http://www.freebsd.org) |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Calling DLL with array arguments?: 00024, Morten Andersen |
|---|---|
| Next by Date: | Re: I need some help : exception in Type Browser: 00024, Josh Passenger |
| Previous by Thread: | Re: JAWIN Digest - 17 Aug 2004 to 18 Aug 2004 (#2004-77)i: 00024, Alex Kotchnev |
| Next by Thread: | Re: Problems with Variant serialization: 00024, Morten Andersen |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |