Community
Participate
Working Groups
Version: Eclipse 3.0.1 Package: org.eclipse.swt.ole.win32 Class: Variant I want you to add the setByRef(IDispatch) method to the Variant class. I added the following codes and confirmed. public void setByRef(IDispatch val) { if ((type & COM.VT_BYREF) == 0 || (type & COM.VT_DISPATCH) == 0) { OLE.error(OLE.ERROR_CANNOT_CHANGE_VARIANT_TYPE); } COM.MoveMemory(byRefPtr, new int[]{val.getAddress()}, 4); val.AddRef(); }
Your bug has been moved to triage, visit http://www.eclipse.org/swt/triage.php for more info.