Highlighted
Absent Member.
Absent Member.
1228 views

CBLLINK utility

Jump to solution

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.

0 Likes
1 Solution

Accepted Solutions
Highlighted
Micro Focus Expert
Micro Focus Expert

RE: CBLLINK utility

Jump to solution

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.

View solution in original post

0 Likes
1 Reply
Highlighted
Micro Focus Expert
Micro Focus Expert

RE: CBLLINK utility

Jump to solution

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.

View solution in original post

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.