TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Kevin Ring
from: Richard Hulme
date: 1995-05-31 20:53:52
subject: WARP API and EXE format

Hello Kevin!

25 May 95, Kevin Ring writes to All:

 KR> I've had this strange idea for awhile now, and maybe someone call tell me
 KR> right now its crazy and will never work. :)  I was thinking that it would
 KR> be relatively easy to write a device driver that would emulate the Windows
 KR> API calls.  So it would have the ability to load and execute a Windows .EXE
 KR> file, and it would then watch for Windows API calls and
"re-route" them to
 KR> OS/2 equivalents.  Essentially, this would make any Windows program look
 KR> and act like a native OS/2 app, with very little memory usage.  Am I crazy,
 KR> or might this be possible? :)  If it would work, the same thing could be
 KR> done to allow simple emulation of Win 95 apps..

I seem to remember IBM tried this for v2.0(?) and found that there was too
much of a performance penalty in the conversion (or
"re-routing").

I also remember more recently a discussion on Usenet about whether or not
IBM was going to implement the Win32 API directly in this manner or not for
future versions of OS/2.  Apparently, there is much less of a performance
drop when "re-routing" the Win32 API - probably due to both using
a flat memory model (Does the Win32 API use a flat memory model?  I don't
know *anything* about the Win32 API and very little about the Win16 API).

bcnu,

Richard.

--- GoldED 2.40
* Origin: Floating Point/2 (2:250/109.10)
SEEN-BY: 105/42 620/243 711/401 409 410 413 430 807 808 809 934 955 712/407
SEEN-BY: 712/515 628 704 713/888 800/1 7877/2809
@PATH: 250/109 25/10 250/107 255/1 440/4 141/209 270/101 105/103 42 712/515
@PATH: 711/808 809 934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.