On Wed, Sep 27, 2000 at 02:41:44AM -0400, Jacob Vitas Vogelstein wrote:
> The way I see it, this is impossible. Another option is that I am just
> stupid. I'll give you 2:1 odds on impossible, though. Well, maybe 1:1.
> Here goes:
>
> In my hack for the SysProcessSoftkeyStroke, the function recieves two
> parameters: PointType *startPtP and PointType *endPtP. Immediately upon
> entering the function, have the following lines:
> {
> PointType startPoint;
> PointType endPoint;
>
> if (startPtP->x == endPtP->x)
> SndPlaySystemSound(sndAlarm);
Do you have the sound volume level turned up (if this applies in this call)?
Also, can you get a disassembly of this fragment and post it? I think it would be
revealing.
(Also did you try turning down or off optimization)?
> startPoint = (*startPtP);
> endPoint = (*endPtP);
>
> if (startPtP->x == endPtP->x)
> SndPlaySystemSound(sndError);
> if (startPoint.x == endPoint.x)
> SndPlaySystemSound(sndError);
> }
>
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/