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