Previous Topic Next topic Print topic


Calling programs from .NET COBOL projects

Note: The following applies to .NET COBOL only.

If a program in your managed project is calling a program in another managed project you need to add a project or a file reference in the calling project to the project containing the program to be called. To do this:

  1. In Solution Explorer, select the calling project.
  2. Click Project > Project Properties.
  3. Click the References tab.
  4. Click Add.
  5. Choose Projects or Browse to add a project or a file reference.

Once this is done, you can use the classes and methods from the referenced project in the calling project.

For information on calling native code from a managed program see Interoperating with Unmanaged COBOL.

Previous Topic Next topic Print topic