🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Help on Petzold HELLOWIN in BC++: wierd behavior

#2422
From: Rich Messenger
Date: Mon, 06 May 1991 02:58
25 lines
1744 bytes
I just received my complimentary copy of Petzold's "Programming Windows"
for registering BC++ 2.0.  I typed the first program in, and figured out
the details like the _export keyword, but there is some strangeness on
executing.

When the window appears, the text in the middle of the screen is
"disable", and only becomes "Hellow, Windows!" after I force a redraw
by resizing or iconifying and restoring.  Also, Windows seems flaky
after running HELLOWIN -- Program Manager often quits with the dreaded
Unrecoverable Application Error; I assume this must mean my little
HELLOWIN program is behaving badly.  I have *carefully* checked my
typing and there are no typos (that I can find).  Has anyone else seen 
this behavior? What does it mean and/or how do I fix it?

Is there a file of Frequently Asked Questions relating to BC++ and windows
that has been compiled?

If any one out there has tried doing the Petzold samples in BC++, are
there any "gotchas" that I should be aware of?

Any help would be appreciated.
     _ __
    ' )  )      /                      ... Rich Messenger
     /--' o _. /_                          rich@wilbur.coyote.trw.com
    /  \_(_(__/ /_                         {uunet,cit-vax,trwrb}!wiley!rich
Technical Details
Message-ID: <2824C65A.4BEB@wilbur.coyote.trw.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!swrinde!elroy.jpl.nasa.gov!aero-c!gumby.dsd.trw.com!deneva!wiley!rich

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!swrinde!elroy.jpl.nasa.gov!aero-c!gumby.dsd.trw.com!deneva!wiley!rich
From: rich@wiley.uucp (Rich Messenger)
Newsgroups: comp.windows.ms.programmer,comp.lang.c++
Subject: Help on Petzold HELLOWIN in BC++: wierd behavior
Message-ID: <2824C65A.4BEB@wilbur.coyote.trw.com>
Date: 6 May 91 02:58:34 GMT
Sender: news@wilbur.coyote.trw.com (News Software)
Organization: TRW Inc., Redondo Beach, CA
Lines: 25