I tried both of the examples you provided. When I try to run the debugger I get the error "The application failed to initialize properly(0x00000005). The specified file is not an executable program." So, I never even get to the code in debug.
I am doing other calls using c linkage in the same cobol app.
Here is my call to the dll.
CALL "bint" WITH C LINKAGE
USING BY VALUE WS-PIN-ENCRYPT
RETURNING WS-PIN-DECRYPT
END-CALL.
I really think the problem is in the C code b/c I have used the above call many...
Hi all. I am new to the forum. I have posted this in the COBOL forum, but thought I would try here too. I have run into a situation I could really use some help with. I have a legacy app written in Fujitsu COBOL that I am trying to call a c++ dll. When I try to execute the app I get the...
I have gone through the samples. I haven't been able to get it work using those examples. My c isn't great. I believe the problem is in the C. Here is the code:
// This is the main DLL file.
#include "stdlib.h"
#include "stdio.h"
#include "stdafx.h"
#include "Bridge.h"
extern "C" {...
Hi all. I am new to the forum. I have run into a situation I could really use some help with. I have a legacy app written in Fujitsu COBOL that I am trying to call a c++ dll. When I try to execute the app I get the error message "The application failed to initialize properly(0x00000005)."...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.