I cannot get past this error: libcob: error: module ‘9DOWN.dll’ not found
The GAMES program runs fine but aborts when calling the 9DOWN program.
I believe all my environment and path settings look correct (see below), but I cannot get it to work. I even tried from a CMD shell in Windows 10, compiled both modules and tried to run it and it fails. I also compiled them BOTH together in the same command line, as cobc -x GAMES.CBL 9DOWN.CBL – but not sure if this what I should do for called programs? It still fails. The exe and dll are there in the D:\INVSYS\COBOL\bin directory.
CALLING Program (GAMES.EXE exists in D:\INVSYS\COBOL\bin)
PROGRAM-ID. GAMES.
77 CALL-9DOWN-NAME PIC X(12) VALUE '9DOWN'.
CALL CALL-9DOWN-NAME USING CALL-RETURN-CODE CALL-CONTROL-ID
(I tried compiling with the called program name in quotes as well with no call success).
Called program (9DOWN.dll exists in D:\INVSYS\COBOL\bin)
PROGRAM-ID. 9DOWN.
PROCEDURE DIVISION USING CALL-RETURN-CODE CALL-CONTROL-ID.
Settings in ide RUN environment are:
Cob_library_path: C:\Program Files (x86)\OpenCobolIDE\GnuCOBOL\lib;D:\INVSYS\COBOL\BIN;D:\INVSYS\COBOL
Terminal Mode is: Run in External Terminal
Settings in ide COMPILE environment are:
PATH: C:\Program Files (x86)\OpenCobolIDE\GnuCOBOL\bin;D:\INVSYS\COBOL\bin
COB_CONFIG_DIR: C:\Program Files (x86)\OpenCobolIDE\GnuCOBOL\config
COB_COPY_DIR: C:\Program Files (x86)\OpenCobolIDE\GnuCOBOL\copy
COB_INCLUDE_PATH: C:\Program Files (x86)\OpenCobolIDE\GnuCOBOL\include;D:\INVSYS\COBOL\bin
COB_LIB_PATH: C:\Program Files (x86)\OpenCobolIDE\GnuCOBOL\lib;D:\INVSYS\COBOL\BIN;D:\INVSYS\COBOL
Any help would be appreciated.
The GAMES program runs fine but aborts when calling the 9DOWN program.
I believe all my environment and path settings look correct (see below), but I cannot get it to work. I even tried from a CMD shell in Windows 10, compiled both modules and tried to run it and it fails. I also compiled them BOTH together in the same command line, as cobc -x GAMES.CBL 9DOWN.CBL – but not sure if this what I should do for called programs? It still fails. The exe and dll are there in the D:\INVSYS\COBOL\bin directory.
CALLING Program (GAMES.EXE exists in D:\INVSYS\COBOL\bin)
PROGRAM-ID. GAMES.
77 CALL-9DOWN-NAME PIC X(12) VALUE '9DOWN'.
CALL CALL-9DOWN-NAME USING CALL-RETURN-CODE CALL-CONTROL-ID
(I tried compiling with the called program name in quotes as well with no call success).
Called program (9DOWN.dll exists in D:\INVSYS\COBOL\bin)
PROGRAM-ID. 9DOWN.
PROCEDURE DIVISION USING CALL-RETURN-CODE CALL-CONTROL-ID.
Settings in ide RUN environment are:
Cob_library_path: C:\Program Files (x86)\OpenCobolIDE\GnuCOBOL\lib;D:\INVSYS\COBOL\BIN;D:\INVSYS\COBOL
Terminal Mode is: Run in External Terminal
Settings in ide COMPILE environment are:
PATH: C:\Program Files (x86)\OpenCobolIDE\GnuCOBOL\bin;D:\INVSYS\COBOL\bin
COB_CONFIG_DIR: C:\Program Files (x86)\OpenCobolIDE\GnuCOBOL\config
COB_COPY_DIR: C:\Program Files (x86)\OpenCobolIDE\GnuCOBOL\copy
COB_INCLUDE_PATH: C:\Program Files (x86)\OpenCobolIDE\GnuCOBOL\include;D:\INVSYS\COBOL\bin
COB_LIB_PATH: C:\Program Files (x86)\OpenCobolIDE\GnuCOBOL\lib;D:\INVSYS\COBOL\BIN;D:\INVSYS\COBOL
Any help would be appreciated.