home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / lang / pascal / 6370 < prev    next >
Encoding:
Internet Message Format  |  1992-11-07  |  1.7 KB

  1. Path: sparky!uunet!europa.asd.contel.com!emory!sol.ctr.columbia.edu!ira.uka.de!math.fu-berlin.de!mailgzrz.TU-Berlin.DE!news.netmbx.de!Germany.EU.net!mcsun!sunic!psinntp!psinntp!bepcp!jnicholson
  2. From: jnicholson@bowker.com (Jim Nicholson)
  3. Newsgroups: comp.lang.pascal
  4. Subject: Re: What we need is a TPU to PAS convertor (Re: tpu files)
  5. Message-ID: <i5TsTB1w164w@bowker.com>
  6. Date: Thu, 05 Nov 92 22:56:17 EST
  7. References: <dmurdoch.250.720918276@mast.queensu.ca>
  8. Organization: Bowker Electronic Publishing, New Providence NJ
  9. Lines: 21
  10.  
  11. > The problem is that .TPU files never exist in an unlinked state equivalent
  12. > to an .OBJ file.  Half the link step has already taken place by the time
  13. > the .TPU is created; that's why the thing that TP calls the link step is
  14. > so much faster than linkers that work with .OBJ files.  To change versions,
  15. > you'd need to unlink the .TPU from all of the old units that it uses, and 
  16. > relink it to equivalent parts of the new ones.  If equivalent parts don't
  17. > exist, you're out of luck.
  18.  
  19. Ok, that explains following situation: Unit A uses Unit B.  You change B, 
  20. and recompile it.  Then you write a program that uses A, but when you 
  21. compile it you get the unit version mismatch problem (because you didn't 
  22. recompile A, which is still linked to the old version of B).
  23.  
  24. Does anyone know if the DLL support in BP7 provides a work-around for this?
  25.  
  26. (I'd be much more willing to use an object-only library if it was 
  27. distributed in a version-independent fashion.)
  28.  
  29. Jim Nicholson                          Internet: jnicholson@bowker.com
  30. Any opinions expressed are not         FidoNet : 1:2605/705.0
  31. necessarily my own                     Voice   : 908-665-2864
  32.