Skip to main content

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

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


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.


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.


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.