Article View: comp.lang.modula2
Article #2855HELP with FST Modula-2 FOREIGN MODULEs in MS-DOS
From: Patrick Kobly
Date: Thu, 28 Sep 1995 03:24
Date: Thu, 28 Sep 1995 03:24
13 lines
1192 bytes
1192 bytes
Help, I'm desperate. I need to use an OBJ file createdby Turbo C++ in my Modula MODULE. Apparently, this is supposed to be able to be done using the FOREIGN [C|PASCAL] DEFINITION MODULE statement, but whenever I try to do this, it says it can't find GRAPHICS.MOD, when I want to use GRAPHICS.OBJ. BTW, I do understand the difference between object and source code, so that's not the problem. Apparently, when MODULEs are compiled using FST, they are of a different type than OBJ files. . . they are M2O files. I tried one other thing to get it to work (it didn't) I set the compiler to output OBJ files and tried to use MS-DOS's LINK to link that OBJ with the graphics one. It didn't work, LINK complained about missing CODE SEGMENTS (I think). . . HELP! Patrick Kobly
Technical Details
Message-ID:
<44d4hu$22lq@rover.ucs.ualberta.ca>Path:
arc1-ca.pugleaf.net!rover.ucs.ualberta.ca!newsShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!rover.ucs.ualberta.ca!news From: pkobly@pop.srv.ualberta.ca (Patrick Kobly) Newsgroups: comp.lang.modula2 Subject: HELP with FST Modula-2 FOREIGN MODULEs in MS-DOS Date: 28 Sep 1995 03:24:46 GMT Organization: University of Alberta Message-ID: <44d4hu$22lq@rover.ucs.ualberta.ca> NNTP-Posting-Host: async15-4.remote.ualberta.ca Mime-Version: 1.0 X-Newsreader: WinVN 0.99.2