You can call functions written in C/C++ from COBOL programs and can call COBOL programs from C/C++ functions. The rules and guidelines referenced below describe how to perform these interlanguage calls.
Unqualified references to “C/C++” in the referenced sections are to Microsoft Visual C++ for Windows.
related tasks
Initializing environments
Passing data between COBOL and C/C++
Setting linkage conventions for COBOL and C/C++
Collapsing stack frames and terminating run units or processes