We're trying to link a COBOL program with a C++ object and a winsock
library. It doesn't work but the error message doesn't make it clear
why not. This is what we did:
COB -vx:Lw -oTESTRUN ****tstat.obj ws2_32.lib
This is what we got:
Micro Focus COB for DOS, OS/2 and Windows Version 3.2.46
Copyright (C) 1993-1994 Micro Focus Ltd.
Scanning: ****tstat.obj
Executing:LINK.EXE @[EMAIL PROTECTED]
lcoboldw
lcobol cobw ,TE
STRUN.DEF;
Microsoft (R) Segmented-Executable Linker Version 5.15
Copyright (C) Microsoft Corp 1984-1991. All rights reserved.
Object Modules [.OBJ]: ****tstat.obj+
Object Modules [.OBJ]: cblwina.obj+
Object Modules [.OBJ]: /noe/nod/A:16
****tstat.obj : fatal error L1101: invalid object module
Link finished with errors
Any suggestions ?