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

  1. Path: sparky!uunet!dtix!darwin.sura.net!mips!newsun!cpclark2.Test.NPD.Provo.Novell.COM!dliechty
  2. From: dliechty@novell.com (Don Liechty)
  3. Newsgroups: comp.os.os2.programmer
  4. Subject: Re: Help! Need to link 16bit LIB with 32bit Application
  5. Message-ID: <dliechty.3.712439069@novell.com>
  6. Date: 29 Jul 92 19:44:29 GMT
  7. References: <anderson.16.712435941@mayo.edu>
  8. Sender: usenet@novell.com (The Netnews Manager)
  9. Organization: Novell, Inc., Provo, UT, USA
  10. Lines: 22
  11. Nntp-Posting-Host: cpclark2.test.npd.provo.novell.com
  12.  
  13. In article <anderson.16.712435941@mayo.edu> anderson@mayo.edu (Alfred I. Anderson) writes:
  14.  
  15. >Apparently the OS/2 2.0 linker can only call 16bit DLLs and cannot 
  16. >incorporate 16bit LIBs!  For our application, we must access this 16bit .LIB.
  17.  
  18. According to the C Set/2 User's Guide pg 251 (BETA copy), you
  19. can statically link 32- and 16-bit code if the 16-bit code was 
  20. compiled using the /ND and /NT options to rename data and text segments, and 
  21. with the /Zl option.  The 16-bit code cannot contain any references to the 
  22. Clibrary.
  23.  
  24.  
  25. >Does anyone have a suggestion how we can link to this 16bit LIB??
  26.  
  27. >^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  28. >Alfred Anderson                Internet:    anderson@Mayo.edu
  29. >Mayo Foundation - Rochester MN 55905
  30.  
  31. >NOTE:  PLEASE INCLUDE YOUR RETURN ADDRESS IN THE BODY OR .SIG FILE
  32. >OF ANY NOTE SENT TO ME --- THE SOFTWARE ON MY END DOES NOT PASS 
  33. >YOUR RETURN ADDRESS FROM THE MESSAGE HEADER TO ME!
  34. >-----------------------------------------------------------------
  35.