Skip to main content

Problem:

A graphical C Interface calling COBOL entry points with different formats Integer, Float, Double, Short, String..

Resolution:

BUILD W/RELEASE:     

NetExpress v3.1 (tested with fixpacks as of 08/2001)

============

Microsoft Visual C v6.0

SOURCE FILES:

=========

Program Files     Description

----------------     -----------------------------------------------------------

Cobdll.APP         Net Express project file to create the COBOL DLL

Cobdll.CBL         COBOL source code of the COBOL DLL

mfguic.C            C source code Mfguic.DSP

C project file

Mfguic.DSW       C project workspace

\\DEBUG\\MFGUIC.EXE     C executable

Copy Files:

----------------     -----------------------------------------------------------

wintypes.CPY     COBOL copybook

mfguic.H             C header file

resource.H         C header file

Resource Files:

----------------     -----------------------------------------------------------

MFGUIC.RC       C resource file

REQUIREMENTS:

==========

Net Express v3.1 or later

Microsoft Visual C v6.0 ***ONLY*** if you wish to modify or rebuild the C executable

OPERATION:

========

(1) Load Cobdll.APP into Net Express

(2) Click on Project > Update All Dependencies

(3) Click on Project > Rebuild All

(4) Animate/Run starting with MFGUIC.EXE

==========================================================

Keywords: Example, sample, demo, demonstration, mixed language, guic-cobdll.zip

demo.ex

demo.ne

Attachments:

guic-cobdll.zip

Old KB# 4343