Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 219977

Summary: [OLE] OleAutomation.getIDsOfNames(...) always returns 0's for parameters
Product: [Eclipse Project] Platform Reporter: Grant Gayed <grant_gayed>
Component: SWTAssignee: Platform-SWT-Inbox <platform-swt-inbox>
Status: CLOSED WONTFIX QA Contact: Felipe Heidrich <eclipse.felipe>
Severity: normal    
Priority: P3 Keywords: triaged
Version: 3.4   
Target Milestone: ---   
Hardware: PC   
OS: Windows 2000   
Whiteboard: stalebug

Description Grant Gayed CLA 2008-02-22 11:04:57 EST
The javadoc of this method says that ids will be returned for a function's parameters if the function is the first argument.  However I've consistently found that 0's are returned as the ids for parameters even if the first argument is successfully resolved to a function.
Comment 1 Felipe Heidrich CLA 2009-08-13 11:11:04 EDT
Your bug has been moved to triage, visit http://www.eclipse.org/swt/triage.php for more info.


Note: is that causing you trouble ?

Msdn for IDispatch::GetIDsOfNames says"
"An IDispatch implementation can associate any positive integer ID value with a given name. Zero is reserved for the default, or Value property; –1 is reserved to indicate an unknown name;"

zero is not error in this case. Nevertheless, odd if it is always zero.
Comment 2 Leo Ufimtsev CLA 2017-08-03 12:31:43 EDT
This is a one-off bulk update. (The last one in the triage migration).

Moving bugs from swt-triaged@eclipse to platform-swt-inbox@eclipse.org and adding "triaged" keyword as per new triage process:
https://wiki.eclipse.org/SWT/Devel/Triage

See Bug 518478 for details.

Tag for notification/mail filters:
@TriageBulkUpdate
Comment 3 Eclipse Genie CLA 2020-07-03 19:17:46 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug.

If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.