home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!rpi!batcomputer!cornell!uw-beaver!news.tek.com!psgrain!m2xenix!puddle!f590.n139.z1.fidonet.org!Sean.Wilson
- From: Sean.Wilson@f590.n139.z1.fidonet.org (Sean Wilson)
- Sender: ufgate@puddle.fidonet.org (newsout1.26)
- Newsgroups: comp.lang.modula2
- Subject: Linking JPI M2 to MicroS
- Message-ID: <36829.2B518BA2@puddle.fidonet.org>
- Date: Thu, 07 Jan 93 10:43:08 PDT
- Organization: FidoNet node 1:139/590 - PMI BBS, Green Bay WI
- Lines: 45
-
- MA> I'm trying to link JPI Modula-2 to an object file which was written with
- MA> Microsoft C. I don't have the source to the object file, or anything
- MA> useful except the names of the procedures included. I've tried wading
- MA> throught the JPI documentation to try to find which pragmas I need in
- MA> order to make the link work, but I haven't quite been able to do it. I
- MA> was hoping someone out on the nets would be able to help me out.
-
- MA> More specifics: I'm using JPI Modula-2 v.3.02. I have no idea what
- MA> version of Microsoft C the object file was written in. I'm using the
- MA> Compact memory model, and the object file is supposedly using the same
- MA> thing. The object file is provided by Novell, and is normally linked to
- MA> the Netware C Interface, but I, being a die hard M2 fan, wrote my own
- MA> API using the assembly level interface, and I need now to link to this
- MA> object file because Novell refuses to release the actual algorithms.
-
- The quickest way to sort this out would be to log onto the TopSpeed TechLine
- BBS on (305) 781 3578 with a description of the problem (i.e. what isn't
- working, what are the symptoms?).
-
- You need to mmake sure that the correct naming conventions are used:
-
- (*# name(prefix=>c) *)
-
- The correct calling conventions, i.e. C-style and parameters in registers:
-
- (*# call(reg_param=>(), c_conv=>on) *)
-
- And also that the definition module doesn't assume an implementation
- module:
-
- (*# module(implementation=>off, init_code=>off) *)
-
- All this and more is documented in the TopSpeed Environment Developer's
- Guide.
-
- Best Regards
- Sean Wilson
- (TopSpeed Technical Support)
-
- X PQ-Under-Trial 2.15 X Surge into electronic mail.
-
-
- --
- uucp: uunet!m2xenix!puddle!139!590!Sean.Wilson
- Internet: Sean.Wilson@f590.n139.z1.fidonet.org
-