Feature #59
Additional Parameter Support
100%
Description
Add the option of passing an array object of parameters to support unlimited arguments. This should be already supported in JACOB libraries.
History
Updated by Scott Butler almost 15 years ago
see: http://jacob-project.cvs.sourceforge.net/viewvc/jacob-project/jacob/src/com/jacob/com/Dispatch.java?view=markup
We need to modify RemoteCOM.java and change the function : public JSVariant call(String methodName, Object[] args) , to call the Dispatch.callN instead of Dispatch.call in the function code so it will pass unlimited arguments.
Updated by Imre Tokai almost 15 years ago
- Status changed from New to In Progress
- % Done changed from 0 to 50
Fix is committed in RemoteCOM.java around line 27:
// return new JSVariant(Dispatch.call(axo, methodName, args));
return new JSVariant(Dispatch.callN(axo, methodName, args));
Note:
public JSVariant call(String methodName, Object arg1, Object arg2, Object arg3,...
has errors;
Updated by Scott Butler over 14 years ago
- Status changed from In Progress to Resolved
- % Done changed from 50 to 100
This is complete. option was added to pass an array of objects instead of objects as separate parameters.