Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Calling APIS from COBOL DLL from Visual C++

Status
Not open for further replies.

iyer45

Programmer
Aug 29, 2001
1
US
Hello:

Anyone have an idea how to do this. I have a COBOL Dll.

I have entry point info which is something like this:

CALL "XXXXX" USING X1-HEADER
X2-REQ-AREA
X3-COMM-AREA.

Now, in C++, there is def file which has exported functions. How do I call this COBOL function from a C program? COBOL does not have a export file/def file or something like that..

P.S: I am not a COBOL programmer..

Thanks (riyer@touchnet.com)
 
We need a little more information - which COBOL compiler, which C/C++ compiler and what platform?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top