🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #13472

Re: crash on F12

#13472
From: Remy Lebeau (TeamB)
Date: Thu, 09 Oct 2003 23:08
25 lines
1868 bytes
"M. Finch" <mlfsup@nospam.comcast.net> wrote in message
news:3f85ded2$1@newsgroups.borland.com...

>             case VK_F11:
>               mag--;
<snip>
>             case VK_F12:
>               mag--;

Notice anything peculiar about those values?  They're both doing the exactly
same thing.  Isn't one supposed to be the reverse of the other?  I would
think that one of them should be using '++' instead of '--'.

> What happens, is the no matter the value of mag, or anyother reason
> that I know of, when I press F12 my program crashes and I get the
> Borland Debug, registers, etc.  There is no error shown, just a
> window labeled CPU and all of the registers, etc.

You have not shown enough code to reproduce the problem with.  How are you
actually using the 'mag' value in your actual drawing code?  Your probelm is
most likely there instead, not in your keyboard handling.


Gambit
Technical Details
Message-ID: <3f85e9f5$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <3f85ded2$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,2fad7e4d444a1c65
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-10-09 16:12:06 PST
From: "Remy Lebeau \(TeamB\)" <gambit47.no.spam@no.spam.yahoo.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <3f85ded2$1@newsgroups.borland.com>
Subject: Re: crash on F12
Date: Thu, 9 Oct 2003 16:08:22 -0700
Lines: 27
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
NNTP-Posting-Host: 67.22.137.75
Message-ID: <3f85e9f5$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1065740789 67.22.137.75 (9 Oct 2003 16:06:29 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail