home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / os / msdos / programm / 8040 < prev    next >
Encoding:
Internet Message Format  |  1992-07-23  |  1.2 KB

  1. Path: sparky!uunet!dtix!darwin.sura.net!mips!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!usenet.ucs.indiana.edu!bronze!yawei
  2. From: yawei@bronze.ucs.indiana.edu (Ya-Gui Wei ~{QG9p~})
  3. Newsgroups: comp.os.msdos.programmer
  4. Subject: Re: Duplicate function names (in different .lib's)
  5. Message-ID: <1992Jul24.003009.10647@bronze.ucs.indiana.edu>
  6. Date: 24 Jul 92 00:30:09 GMT
  7. References: <1992Jul17.063123.6492@grebyn.com>
  8. Organization: Indiana University
  9. Lines: 17
  10.  
  11. In article <1992Jul17.063123.6492@grebyn.com> bittware@grebyn.com (Bittware) writes:
  12. >I'm having a problem with duplicate function names between a commercial
  13. >graphics library and the Borland graphics library (moveto).  
  14.  
  15.    I ran into a similar problem too. A third party utility library
  16. I was linking contained a function with the same name as a function in
  17. the library that came with the compiler. Worse yet, the two functions
  18. use different pointer parameters!  The result being that when I intend
  19. to use one and end up linking in the other, the system crashes. 
  20.  
  21. >Since I need both functions, I can't link either one first and resolve the
  22. >conflict.
  23.  
  24.    One dirty solution would be to patch one of the libraries to change
  25. one of the names.  I don't know of a cleaner solution.
  26.  
  27.   Ya-Gui Wei 
  28.