×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

libcob: error: module ‘9DOWN.dll’ not found

libcob: error: module ‘9DOWN.dll’ not found

libcob: error: module ‘9DOWN.dll’ not found

(OP)
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.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login


Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close