On 15 Aug 2012 at 19:22, David Griffith wrote:
If it's
the matter of the source (that 32-bit platforms treat "int"
as 32 bits), consider creating a conditional typedef for the int
type- -define it as "int" for the large platforms and "long" for the
16- bitters.
I'm using Turbo C++ 3.00. It's definitely chopping off half of the
bits.
I *knew* there was a reason that I stayed away from Borland.
Microsoft C handles 32-bit ints just fine. Are you certain it's not
just a matter of a misplaced or missing cast?
As long as you don't mind restricting the thing to 386+ platforms,
you can use something like DJGPP that comes with its own DPMI server.
--Chuck