Quantcast
Channel: Visual COBOL - Forum - Recent Threads
Viewing all articles
Browse latest Browse all 4356

Managed COBOL access to C functions by setting an entry point to a .dll

$
0
0

I am compiling procedural COBOL into class files and deploying it to an .ear folder which is being run using JBOSS. The program exits prematurely and I am seeing the following error in the server logs:

com.microfocus.cobol.program.COBOLProgramLoadException: 173     Called program file not found in drive/directory [ONOFFCHK]

 

ONOFFCHK is one of many functions the application uses to handle memory contained in a .dll file called ACSDLL. This .dll contains functions exclusively written in C. Using the debugger I have found the line of code where the failure occurs:

SET DLLPTR TO ENTRY "ACSDLL".

 

It seems like the .dll is not being found at runtime, despite its directory being set in the PATH. Is there any particular setup in Eclipse or compiler directives required to link JVM COBOL to a .dll containing C functions?

 

Thanks!


Viewing all articles
Browse latest Browse all 4356

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>