home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / os / os2 / apps / 8455 < prev    next >
Encoding:
Internet Message Format  |  1992-11-19  |  1.9 KB

  1. Xref: sparky comp.os.os2.apps:8455 comp.os.os2.programmer:6554 comp.os.os2.misc:37103
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!uwm.edu!rutgers!njitgw.njit.edu!hertz.njit.edu!dic5340
  3. From: dic5340@hertz.njit.edu (David Charlap)
  4. Newsgroups: comp.os.os2.apps,comp.os.os2.programmer,comp.os.os2.misc
  5. Subject: Re: BC++ for OS/2 announced - NOT!
  6. Message-ID: <1992Nov19.201309.23006@njitgw.njit.edu>
  7. Date: 19 Nov 92 20:13:09 GMT
  8. References: <1992Nov18.184951.25343@beaver.cs.washington.edu> <1992Nov19.012135.21955@borland.com> <JOHN.92Nov18205807@utafll.utafll.uta.edu>
  9. Sender: news@njit.edu
  10. Organization: New Jersey Institute of Technology, Newark, N.J.
  11. Lines: 22
  12. Nntp-Posting-Host: hertz.njit.edu
  13.  
  14. In article <JOHN.92Nov18205807@utafll.utafll.uta.edu> john@utafll.uta.edu (John Baima) writes:
  15. >BP 7.0's protected mode programs are also OS/2 1.x binaries (i.e.,
  16. >still crummy 64k segments, but a true OS/2 program nevertheless.) I
  17. >have not needed to actually do this yet, but the docs are quite clear
  18. >on this. The answer is that it can produce OS/2 1.x character mode
  19. >programs, not PM and the same exe file can be used with their DOS
  20. >extended and OS/2. My problem is that many programs cannot simply be
  21. >recompiled--the rules change for protected mode.
  22.  
  23. If you can produce OS/2 1.x text-mode code, you can write PM code.
  24. Can you link to external .LIB files?  If so, all you need to do is
  25. link to the 1.3 OS2.LIB (maybe OS2286.LIB in the 2.0 toolkit) and come
  26. up with an appropriate series of parameters to call them.  Then run
  27. MARKEXE to change the executable to PM type.  This should work (I'd
  28. think) if the stack size and heap size is big enough.
  29.  
  30. Anyone willing to attempt this mess?
  31. -- 
  32.   |)  David Charlap          | .signature confiscated by FBI due to
  33.  /|_  dic5340@hertz.njit.edu | an ongoing investigation into the
  34. ((|,)                        | source of these .signature virusses
  35.  ~|~
  36.