home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / lang / pascal / 4844 < prev    next >
Encoding:
Internet Message Format  |  1992-08-13  |  1.2 KB

  1. Path: sparky!uunet!zephyr.ens.tek.com!vice!bobb
  2. From: bobb@vice.ICO.TEK.COM (Bob Beauchaine)
  3. Newsgroups: comp.lang.pascal
  4. Subject: Re: Turbo Pascal -> Borland C++?????
  5. Message-ID: <10158@vice.ICO.TEK.COM>
  6. Date: 13 Aug 92 23:54:45 GMT
  7. References: <1992Aug10.113545.58016@cc.usu.edu> <1992Aug13.120331.1@vaxb.acs.unt.edu>
  8. Organization: Tektronix, Inc., Beaverton,  OR.
  9. Lines: 20
  10.  
  11. In article <1992Aug13.120331.1@vaxb.acs.unt.edu> wilsonm@vaxb.acs.unt.edu writes:
  12. >Well there is suppose to be a way to call C OBJ's from Pascal.  I have yet to
  13. >get it to work correctly though.  All the sample code that comes with BC 3.0
  14. >works great...but when I try a simple string alteration it chokes.
  15. >
  16.  
  17.   You'll probably notice that the examples uses exactly zero calls
  18.   to the C++ run time library.  If, in your code, you included
  19.   <string.h> and then called *any* of the routines therein, the
  20.   linker can't resolve the references to RTL calls.  I too wish
  21.   Borland would support linking .LIB's into TP programs.
  22.  
  23. /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\ 
  24.  
  25. Bob Beauchaine bobb@vice.ICO.TEK.COM 
  26.  
  27. C: The language that combines the power of assembly language with the 
  28.    flexibility of assembly language.
  29.  
  30. Real friends don't let friends use UNIX.
  31.