You can link applications from the Visual COBOL command prompt with the cbllink or cblnames commands. For example, to produce an .exe file, use:
cbllink myprogram.cbl
To compile and link your code to produce a .dll file, use:
cbllink -d myprogram.cbl
With these commands, the single-threaded and static-linking options are automatically mapped onto the multi-threaded and shared run-time systems respectively.
To specify what to link: