logo       

Re: Getting Out Parameter value in Jawin: msg#00016

windows.devel.jawin

Subject: Re: Getting Out Parameter value in Jawin

Hi Mukund

A quick answer, as I am pretty busy right now, follows below:

Mukund Wassan wrote:
Is it possible, to get the out parameter result using jawin (preferably
without using stub classes). I wish to invoke the method dynamically, and
probably wish something like this,

--start code---
ptr = new DispatchPtr("progid");
Variant v = new Variant();
v.bstrVal = "resultsent"
Boolean b = (Boolean) ptr.invokeN("DRequest", new Object[]
{"request","data",v}));
----end code---
v.bstrVal is updated with the new value set by the COM object.

What would be the implementation in jawin to achieve something similar to
the above code.

Please check the HEAD out of the CVS-repository, as described here:
http://jawinproject.sourceforge.net/jawindeveloper.html
And build yourself.

And then your question should be answered in section 2.3.1 in the
docs/jawinuserguide_dispatch.html document.

Please return to me again, if this does not solve your problem (I would
of course also be pleased to hear if this does solve your problem, as it
is a pretty new feature in Jawin).

Best Regards and good luck
Morten



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise