logo       

Re: Problems with Variant serialization: msg#00029

windows.devel.jawin

Subject: Re: Problems with Variant serialization

Morten Andersen wrote:
Hi Andrzej

Andrzej Bialecki wrote:


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:


The code serializing/deserializing arrays have been cleaned up somewhat
in the most recent CVS code. So I suggest that you try to check out the
latest source and build Jawin yourself, as described here:
http://jawinproject.sourceforge.net/jawindeveloper.html

And besides this, you should probably check the new documentation in
docs/jawinuserguide_dispatch.html, especially section 2.3.2 on Array
parameters.

Please let me know if this solves your problem.

Thanks for the pointer. I checked out the latest CVS, but I have some
problems building it... Using MSVC 6.0 and JDK 1.4.2_04. It seems
somewhere some include is not found. I properly set up the JAVA_HOME...
Here's what I get from the CPP:

[exec]
E:\work\jawin\jawin\cpp\jawin\../Exceptions/se_translator.h(72) : error
C2146: syntax error : missing ';' before identifier 'inaccessible_address'
[exec]
E:\work\jawin\jawin\cpp\jawin\../Exceptions/se_translator.h(72) : error
C2501: 'ULONG_PTR' : missing storage-class or type specifiers
...

Where is the ULONG_PTR defined???

--
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>
Google Custom Search

News | FAQ | advertise