Project

General

Profile

Feature #59

Additional Parameter Support

Added by Scott Butler almost 14 years ago. Updated about 13 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Start date:
07/01/2010
Due date:
% Done:

100%

Estimated time:
Browser (if web client):

Description

Add the option of passing an array object of parameters to support unlimited arguments. This should be already supported in JACOB libraries.

History

#1

Updated by Scott Butler almost 14 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.

#2

Updated by Scott Butler almost 14 years ago

  • Assignee set to Imre Tokai
#3

Updated by Imre Tokai almost 14 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;

#4

Updated by Scott Butler about 13 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.

Also available in: Atom PDF