Skip to main content

CBLLINK utility

  • June 18, 2015
  • 1 reply
  • 0 views

Hi,

Is there any way to create a managed dll in Visual studio using the CBLLINK utility.?

Earlier in our Net Express project we used to create dll using the command: cblLink -d -s -oxyz.dll @xyz.lnk . This command creates a native dll. Is there any way to create a managed dll using the same procedure. I do not wish to use the IDE for dll creation.

1 reply

Chris Glazier
Forum|alt.badge.img+2

Hi,

Is there any way to create a managed dll in Visual studio using the CBLLINK utility.?

Earlier in our Net Express project we used to create dll using the command: cblLink -d -s -oxyz.dll @xyz.lnk . This command creates a native dll. Is there any way to create a managed dll using the same procedure. I do not wish to use the IDE for dll creation.

cbllink is used to generate native .exe/dlls by invoking the LINK utility.

managed code assemblies are not linked but are instead generated directly by the compiler/code generator.

You can create managed code assemblies as either an .exe or .dll from the command line using the cobol command instead.

For .exe:

cobol xyz -ilgen(main);

For .dll:

cobol xyz -ilgen(sub);

Thanks.