home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / os / mswindo / programm / tools / 692 < prev    next >
Encoding:
Text File  |  1992-08-12  |  1.8 KB  |  42 lines

  1. Newsgroups: comp.os.ms-windows.programmer.tools
  2. Path: sparky!uunet!microsoft!hexnut!johnkal
  3. From: johnkal@microsoft.com (John Kallen)
  4. Subject: Re: MFC under BCC?
  5. Message-ID: <1992Aug11.020925.18514@microsoft.com>
  6. Date: 11 Aug 92 02:09:25 GMT
  7. Organization: Microsoft Applications Division (WGA)
  8. References: <59800002@otter.hpl.hp.com> <1992Aug05.012145.19837@microsoft.com>
  9. Lines: 31
  10.  
  11. In article <59800002@otter.hpl.hp.com> slo@otter.hpl.hp.com (Steve Loughran) writes:
  12. :
  13. :However compilation ain't enough : I can't link to the library due to bad
  14. :object file records in SAFXCW.LIB.
  15. :A comparison of object files produced by MSC and BCC seems to indicate that
  16. :they are using different name mangling conventions.
  17. :
  18. :I wouldn't be suprised if I'm going to have to recompile the entire 
  19. :foundation class library to have a hope of getting a simple MFC app to
  20. :work. I also get the sneaking suspicion that from now on sharing .obj files
  21. :from MSC to BCC isnt going to be as easy as it was when I was just importing
  22. :C functions.
  23. :
  24. :    -Steve
  25.  
  26. Borland and Microsoft have chosen two different name-mangling schemes for
  27. symbols. As you mention, this is unfortunate as it makes linking to .LIB
  28. libraries (as opposed to libraries where the source is provided) impossible
  29. if the library was built with the "wrong" version.
  30.  
  31. With luck, a standard DOS/Win/OS-2 name-mangling will evolve. Until
  32. then, one will have to have sources to libraries, or compiler-vendor-dependent
  33. .LIB files (bleargh...)
  34. _______________________________________________________________________________
  35.  | |   |   |    |\ ||  /|\ |    "Stonehenge is very nutritious" - Migato Gami
  36.  | |\ \|/ \|  * |/ ||/| |  |  
  37.  | |\ /|\  |\ * |\ |  | |  |    Microsoft couldn't care less about what I say.
  38. _|_|___|___|____|_\|__|_|__|____johnkal@microsoft.com__________________________
  39.  
  40.  
  41.  
  42.