home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / os / os2 / programm / 4486 < prev    next >
Encoding:
Internet Message Format  |  1992-08-27  |  1010 b 

  1. Xref: sparky comp.os.os2.programmer:4486 comp.os.os2.apps:5589
  2. Newsgroups: comp.os.os2.programmer,comp.os.os2.apps
  3. Path: sparky!uunet!cs.utexas.edu!natinst.com!ramdas
  4. From: ramdas@natinst.com (Malathi Ramdas)
  5. Subject: Linking 16-bit Code with 32-bit code
  6. Message-ID: <1992Aug27.215047.28937@natinst.com>
  7. Sender: news@natinst.com
  8. Nntp-Posting-Host: eagle.natinst.com
  9. Organization: National Instruments, Austin, TX
  10. Date: Thu, 27 Aug 1992 21:50:47 GMT
  11. Lines: 6
  12.  
  13.        I am trying to call function in a 16-bit code from a 32-bit application.
  14. The 16-bit object code is compiled using the MSC 6.0 compiler while the 32-bit
  15. application is compiled using CSET/2. I wish to statically link these two objectfiles. Would link386 be suitable to link this 16- and 32-bit code? Are there 
  16. any link options that I need to specify in order to get things to work. My 16-bit code also makes 16-bit DOS API calls. Also, while compiling the 16-bit code
  17. do I need to give any options so that it would be callable by 32-bit code?
  18.  
  19.