Article View: comp.os.os2.programmer
Article #1892Re: New to OS/2 programming ... need help setting up
From: Martin Lansche
Date: Fri, 13 Nov 1992 15:11
Date: Fri, 13 Nov 1992 15:11
42 lines
3100 bytes
3100 bytes
In <1992Nov12.120023.940@calmasd.prime.com> Ken Brucker writes: >And while I'm here, what are some good books on PM programming? I've already >got the 4 red books, but they don't seem to have any details on the calls >available for PM programming. The Red books should contain the references for the APIs that you would be interested in. Look for functions starting with Win* (PM functions), Gpi* (PM Graphics), and Dos* (OS/2 kernal). The Red books should be hardcopy versions of the online references that come with the OS/2 2.0 Toolkit. This is not the best place to start to learn however. I am currently teaching myself PM from texts. I have looked at Charles Piezolds (sp?) from Micros*ft Press, and found it ponderous. Next I looked at "OS/2 Presentation Manager Programming Primer" by Drore & Lafore, pub - Osborne McGraw Hill. While it was written for OS/2 1.2, the APIs haven't changed much, and it covers the material very well. It works from the ground up, and you just continually modify two or three examples, learning more and more with each modification. There may be 2.0 stuff not covered in here but I have found it to be a very good text to learn from. I have also purchased Stephen Knight's "Learning to Program OS/2 2.0 Presentation Manager by Example", Van Nostrand Reinhold pub. A quick glance and read of the introductory chapters left me with the impression that the Drore and Lafore book was superior. Knight's approach is to start with a complete slider puzzle game (similar but more flexible than the one that comes with OS/2), and dissect it, explaining as he goes. He takes 50 pages to cover what the D&L book covers in 160+ with paragraph descriptions with try to "teach" the basics, while the D&L takes you through 20 running programs and explaining each variation in detail. I will use Knight's book as my second PM book, and to pick up OS/2 2.0 new features not covered in the D&L book. Add the Red Books (I look at the online files from the Toolkit), and it all seems to fall in place. Cheers, Martin Lansche ________________________________________________________________________ Ilu Iluvatar en kare eldain a firimoin ar antarota mannar valion : numessier. Toi aina, mana, meldielto -- enga morion : talantie. ---------------------------------------------------------------------- The father made the world for elves and mortals and he gave it into the hands of the Lords in the West. They are blessed, holy and loved, except the black one. He has fallen. ________________________________________________________________________
Technical Details
Message-ID:
<19921113.072911.444@almaden.ibm.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!torolab6.VNET.IBM.COMReferences:
<1992Nov12.120023.940@calmasd.prime.com>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!torolab6.VNET.IBM.COM From: lansche@torolab6.VNET.IBM.COM (Martin Lansche) Message-ID: <19921113.072911.444@almaden.ibm.com> Date: Fri, 13 Nov 92 10:11:02 EST Newsgroups: comp.os.os2.programmer Subject: Re: New to OS/2 programming ... need help setting up Disclaimer: This posting represents the poster's views, not those of IBM News-Software: UReply 3.0 References: <1992Nov12.120023.940@calmasd.prime.com> Lines: 43