ActiveX bridge, only one direction works

Hi, I've packaged and deployed my java application as a dll using the activex bridge. I can get calls from the COM host just fine, but I'm not being able to pass values across to the host. For example, the COM host specifies that a property called 'Long Version' be set. So I've created an 'int Version = 1" and a matching getter and setter. I read that java int type maps to IDL Long type(4 bytes). The getter returns the appropriate type. However, the COM host is not able to lookup and get the property. Same is the problem with events. The host cannot seem to be able to catch the events.

For both the property and the events, I've overridden methods in BeanInfo to return the desired result.

[716 byte] By [shruti_giria] at [2007-11-27 9:04:17]
# 1
What ActiveX bridge (Java-COM bridge) do you mean?
vitallisa at 2007-7-12 21:37:15 > top of Java-index,Java HotSpot Virtual Machine,Specifications...
# 2

Sun's ActiveX Bridge. Basically, the host is not seeing my bean properties. I have standard getters and setters. This is from an IDL from a C++ client and I need my java code to produce an equivalent property access.

Please help. I'm really stuck on this.

[propget, id(1), helpstring("property Version")] HRESULT Version([out, retval] LONG* pVal);

shruti_giria at 2007-7-12 21:37:15 > top of Java-index,Java HotSpot Virtual Machine,Specifications...