🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.ms.programmer
Article #62

MetaWare 32-bit Windows Application

#62
From: sxl2259
Date: Fri, 24 Jul 1992 21:25
18 lines
1079 bytes
Does anyone know about how to port the Windows programs to MetaWare compiler
for 32-bit environment (of course, still running under Windows 16-bit
environemnt). I have trouble to use the GlobalAlloc & GlobalLock. Because
the MetaWare include a NEW windows.h that declare FAR as "". (nothing)

How to change my program without pain? By the way, no matter what the Local
or Globle memory API used, I always got a compiler waring like that:

"far pointer address truncated to near pointer"

Why? especially in GlobalLock and LocalLock!?


Any suggestion will be very appreciated, 


SHen-wei
Technical Details
Message-ID: <1992Jul24.212525.26422@ultb.isc.rit.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!psinntp!isc-newsserver!ritvax.isc.rit.edu!SXL2259

Show Full Headers
Complete Article Headers
Newsgroups: comp.windows.ms.programmer
Path: arc1-ca.pugleaf.net!sparky!uunet!psinntp!isc-newsserver!ritvax.isc.rit.edu!SXL2259
From: sxl2259@ritvax.isc.rit.edu
Subject: MetaWare 32-bit Windows Application
Message-ID: <1992Jul24.212525.26422@ultb.isc.rit.edu>
Sender: news@ultb.isc.rit.edu (USENET News System)
Nntp-Posting-Host: vaxb.isc.rit.edu
Reply-To: sxl2259@ritvax.isc.rit.edu
Organization: Rochester Institute of Technology
Date: Fri, 24 Jul 1992 21:25:25 GMT
Lines: 19