In this chapter, we will look at the steps involved in taking the FILEIO4 OO COBOL program created in the previous chapter and turning it into a COM component.
We are going use the FILEIO4 program to create a COM Server module. A COM server module is a program that expects to be called from another COM Client program.
We will modify the TESTFILEIO4 program into a COM client to illustrate how COBOL programs can instantiate COM Server modules.
We first need to create a project named FILEIO5.PRJ. Then we will build a TESTFILEIO5.EXE program and a FILEIO5.DLL. As a beginning point, we will create TESTFILEIO5.COB and FILEIO5.COB source programs by copying the current TESTFILEIO4.COB and FILEIO4.COB programs.