Skip to main content

Net Express 3.0 - cobol calling a .NET DLL

  • July 5, 2012
  • 4 replies
  • 0 views

Hi All,

is there any way to call a function from a .net DLL with a cobol program?

We use Net Express version 3.0 and Visual Studio 2010.

Thanks for helping me.
Bischof


#.netdllcobol

4 replies

Chris Glazier
Forum|alt.badge.img+2
  • Moderator
  • 3697 replies
  • July 5, 2012

Hi All,

is there any way to call a function from a .net DLL with a cobol program?

We use Net Express version 3.0 and Visual Studio 2010.

Thanks for helping me.
Bischof


#.netdllcobol

Yes, this can be done by registering the .NET .DLL for COM Interop and then using the Net Express COM domain support to access the .NET methods thru COM.

There is an example of doing this using Net Express 5.1 and Visual COBOL at: community.microfocus.com/.../452.calling-visual-cobol-net-classes-from-net-express-native-programs.aspx


  • Author
  • Rocketeer
  • 19312 replies
  • July 5, 2012

Hi All,

is there any way to call a function from a .net DLL with a cobol program?

We use Net Express version 3.0 and Visual Studio 2010.

Thanks for helping me.
Bischof


#.netdllcobol

Thx. It works :) At first i was missing the $set ooctrl( p) statment but now it works.

A big thx for your help.


  • Author
  • Rocketeer
  • 19312 replies
  • July 5, 2012

Hi All,

is there any way to call a function from a .net DLL with a cobol program?

We use Net Express version 3.0 and Visual Studio 2010.

Thanks for helping me.
Bischof


#.netdllcobol

Thx. It works :) At first i was missing the $set ooctrl( p) statment but now it works.

A big thx for your help.


  • Author
  • Rocketeer
  • 19312 replies
  • July 5, 2012

Hi All,

is there any way to call a function from a .net DLL with a cobol program?

We use Net Express version 3.0 and Visual Studio 2010.

Thanks for helping me.
Bischof


#.netdllcobol

Thx. It works :) At first i was missing the $set ooctrl( p) statment but now it works.

A big thx for your help.