TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Jim Fitzsimmons
from: Mike Bilow
date: 1996-06-14 15:44:44
subject: OS/2 structures

Jim Fitzsimmons wrote in a message to Mike Bilow:

 JF> Well I have a Ansi "C" program I converted from Basic here
 JF> that I want to be a PM program. Question is any PM a
 JF> "Graphics" Window program? The code I have is in CGA
 JF> graphics for that is the only res that supports
 JF> Dos_Back_Grnd running under OS/2. Is there a way I could
 JF> compile this program as it is without it being a PM program?

Not really.  You might be able to port your DOS CGA program to an OS/2
"text-mode" program that uses the CGA graphics video modes, but
this is not a good idea and would impose a lot of restrictions.

In general, a PM program is one written to the PM API.

 JF> Hmm I would assume that I am learning the PM API then
 JF> correct from the OS/2 RWP book? Which is the OS/2 API part? 

The PM API is usually considered as encompassing the graphics-oriented API
functions, such as WinXxxxx and GpiXxxxx.  The base API is usually
considered as encompassing the DosXxxxx functions.  There is also the
16-bit text-mode API which is effectively superseded in a PM program, such
as VioXxxxx, KbdXxxxx, and MouXxxxx functions.
 
-- Mike


--- 
* Origin: N1BEE BBS +1 401 944 8498 V.34/V.FC/V.32bis/HST16.8 (1:323/107)
SEEN-BY: 50/99 270/101 620/243 625/100 711/401 409 410 413 430 808 809 934
SEEN-BY: 711/955 712/407 515 517 628 713/888 800/1
@PATH: 323/107 396/1 270/101 712/515 711/808 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™.