home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / lang / pascal / 8525 < prev    next >
Encoding:
Text File  |  1993-01-25  |  1.1 KB  |  33 lines

  1. Newsgroups: comp.lang.pascal
  2. Path: sparky!uunet!das.wang.com!wang!news
  3. From: s2861785@techst02.technion.ac.il (Alon Ziv)
  4. Subject: Re: TP: Compiling to .obj?
  5. Organization: /u1/023/s2861785/.organization
  6. Date: Mon, 25 Jan 1993 11:15:09 GMT
  7. Message-ID: <S2861785.93Jan25111509@techst02.technion.ac.il>
  8. References: <jnpotts.727733992@vincent1.iastate.edu>
  9. Sender: news@wang.com
  10. Lines: 21
  11.  
  12. James N. Potts writes:
  13.  
  14.    I'd like to make an object file containing functions to be used by another
  15.    program.  How can I turn my pascal file into object code?
  16.  
  17. You can't.
  18. (Unless, of course, you switch to a different compiler---such as Stony
  19. Brook's Pascal+, which is source-compatible AND produces OBJ files).
  20.  
  21. You CAN, however, create a DLL (assuming you use BP7.0), and use this
  22. in your other program---but this method requires you use windows, or
  23. (at least) a suitable DOS extender.
  24.  
  25.    James
  26.  
  27. Alon Ziv
  28. --
  29. Internet:    s2861785@t2.technion.ac.il               . __
  30.     I'M A STUDENT: When I'm wrong, it's my teacher's fault      _|  /
  31.     (when I'm right, the credit is all mine!)         / | /_
  32.                                 Alon Ziv
  33.