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