Your copybooks are missing from the zip but the first thing I immediately noticed is that you are defining the COM class name incorrectly in the .gnt program. In program1.cbl: COMPRESSOR IS CLASS "$OLE$IOICompression.Compress". In ZIPHANDD.CBL: COMPRESSOR IS CLASS "$OLE$IOICompress.Compress". According to the name in the C# class the name in program1.cbl is correct so that is why it works from there. Thanks.
↧