I have a com dll written in VB. I am trying to call a function that takes two parameters, int() and string.
I am getting an error: "cannot convert from ref int[] to ref system.array"Code:public void job() { jobDLL.clsMain job = new jobDLL.clsMain(); string iStr="test"; //int[] oInt = new int[1]; //System.Array oInt= new System.Array[1]; job.dc(ref oInt,ref iStr); }
As you can see in the code, I tried to place both an int[] and a system.array in as the first parameter. I cannot get it to accept. Any ideas?




Reply With Quote