|
From: Stefan H. <Ste...@gm...> - 2004-08-17 23:57:25
|
Hi,
I have a question concering linkage of TinyCOBOL programs on windows using
MinGW.
Is it possible to link a cobol program to an external library build with
stdcall calling convention?
If yes, how is it done? Unfortunately the link to the TinyCOBOL manuals is
broken... :-(
Microfocus COBOL supports this kind of linkage by using a special name
entry. Example reads as follows:
(...)
SPECIAL-NAMES.
CALL-CONVENTION 74 IS EXTAPI.
(...)
PROCEDURE DIVISION.
CALL EXTAPI "function" using
by reference parm
returning rc.
(...)
Thanks in advance.
Regards
Stefan
|