Skip to main content

Hi,

I am working on visual cobol with below three components:

1. cobol  managed code.

2. wrapper class program

3. .net application.

currently i am trying to invoke a method available in cobol from .NET with the help of wrapper  class, but i am facing a error of parameter mismatch as the  cobol dll contains method parameters of  'microfocus.cobol.program.reference' whereas .NET variables are of native .NET types .

Please let me know how can i resolve this.

Hi,

I am working on visual cobol with below three components:

1. cobol  managed code.

2. wrapper class program

3. .net application.

currently i am trying to invoke a method available in cobol from .NET with the help of wrapper  class, but i am facing a error of parameter mismatch as the  cobol dll contains method parameters of  'microfocus.cobol.program.reference' whereas .NET variables are of native .NET types .

Please let me know how can i resolve this.

Can you please show us what the method signature looks like for the method that you are trying to invoke and also the actual invoke statement including the parameter definitions that you are using?

Thanks.