Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

passing array to com

Status
Not open for further replies.

poptcat

Programmer
Jul 16, 2007
3
RO
Hi. I need to call a com function which requires an array of string as parameter.
I call it this way:
my.InvokeMember("report", BindingFlags.InvokeMethod, null,
myap,mysir);
where
- myap is the com server
- report is the function
- mysir is an array of strings

In this case "report" receives just the first element of mysir as parameter and not the whole array.
What's wrong?
Gabriel
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top