[comp.windows.ms.programmer] Help/Borland C++/Petzold examples

mklee@eniac.seas.upenn.edu (Mike Lee) (06/28/91)

Help!

I have been able to get HELLOWIN.C to work, but have a little trouble
with the second & third examples (SYSMETS1.C, SYSMETS2.C).  With the
help of TDW, I have determined that some static short variables are
being assigned with new values are not in fact being updated.  When I
try to MODIFY the values of these variables with TDW, they do.  Any
ideas to why these variables not getting updated ?  (namely cxChar,
cxCaps, cyChar) With sysmets2.c, not only are these variables not
updated, the program also generates an exception 13 and UAE.  I have
tried compiling with different memory models with no success. 

please email any info....thanks!
























--
--
There are three schools of magic.  One:  State a tautology, then ring
the changes on its corollaries; that's philosophy.  Two:  Record many
facts.  Try to find a pattern.  Then make a wrong guess at the next