home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / lang / c / 20079 < prev    next >
Encoding:
Text File  |  1993-01-22  |  1.8 KB  |  45 lines

  1. Newsgroups: comp.lang.c
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!saimiri.primate.wisc.edu!sdd.hp.com!usc!howland.reston.ans.net!spool.mu.edu!agate!linus!progress!leary
  3. From: leary@progress.COM (Jim Leary)
  4. Subject: Re: Microsoft library access from Turbo C?
  5. Message-ID: <1993Jan22.175232.18997@progress.com>
  6. Sender: usenet@progress.com (Mr. Usenet)
  7. Nntp-Posting-Host: misseq
  8. Organization: Progress Software Corp.
  9. References: <1993Jan21.171455.215@kenyon.edu>
  10. Date: Fri, 22 Jan 1993 17:52:32 GMT
  11. Lines: 32
  12.  
  13. sullivan@kenyon.edu writes:
  14.  
  15. >I have some DOS hardware with a software library to use it written for
  16. >Microsoft C (ver 4.00). Is there a way to link code I write in Turbo C++ (ver
  17. >2.00, I think) to this library?
  18.  
  19. >Thanks for any help,
  20.  
  21. >Tim Sullivan   (sullivan@kenyon.edu)
  22.  
  23.  
  24. at one time, I contacted Borland Tech Support about this very same question.
  25. I think they gave me a legitimate answer, which stated that because of
  26. differences between Microsoft and Borland involving segments (CODE and DATA),
  27. unless you had the source code from Microsoft for the .OBJ's in the
  28. lib, there really wasn't a way to link Microsoft libs with Borland.
  29.  
  30. Obvious answer.  I never really delved into it again.  I think that the
  31. other issue involves the startup code that each compiler uses to generate
  32. an executable.  There might be stubs in the Microsoft lib's that refer to
  33. the startup code that in Borland's version do not exist or are stubbed
  34. differently.
  35.  
  36. I don't know if this answers your question, but just some info to pass along.
  37.  
  38. Jim
  39.  
  40. --
  41. ------------------------------------------------------------------------------
  42. Jim Leary             | My opinions are mine and do not reflect the opinions
  43. Progress Software     | of my employer.
  44. ------------------------------------------------------------------------------ 
  45.