Skip to main content

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.

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.