Article View: net.micro.mac
Article #7589Re: SetEventMask Buggy?
From: Stew Rubenstein
Date: Mon, 13 Oct 1986 03:15
Date: Mon, 13 Oct 1986 03:15
21 lines
1322 bytes
1322 bytes
In article <7819DMB@PSUVMA> DMB@PSUVMA.BITNET writes: > > Anyone have this problem? > You try to set the event mask to something other than what it is and > it crashes the system? > > Specifically SetEventMask(EveryEvent); You didn't say what development environment you are using, but I bet it's Lightspeed C. This is a known bug. Their SetEventMask uses a MOVE.L where it should use a MOVE.W. You can 1) patch the MacTraps library (using FEdit, Search for: 225F 21DF 0144 4ED1 Change to: 225F 31DF 0144 4ED1 ) or 2) Use a line like SysEvtMask = EveryEvent; /* SysEvtMask is a lomem global defined in EventMgr.h */ or 3) Wait for the new version of LightSpeed C due out at the end of the month. Stew
Technical Details
Message-ID:
<387@husc6.HARVARD.EDU>Path:
arc1-ca.pugleaf.net!utzoo!watmath!clyde!caip!rutgers!husc6!endor!stewReferences:
<7819DMB@PSUVMA>Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!caip!rutgers!husc6!endor!stew From: stew@endor.harvard.edu (Stew Rubenstein) Newsgroups: net.micro.mac Subject: Re: SetEventMask Buggy? Message-ID: <387@husc6.HARVARD.EDU> Date: Sun, 12-Oct-86 23:15:04 EDT Article-I.D.: husc6.387 Posted: Sun Oct 12 23:15:04 1986 Date-Received: Mon, 13-Oct-86 06:04:56 EDT References: <7819DMB@PSUVMA> Sender: news@husc6.HARVARD.EDU Reply-To: stew@endor.UUCP (Stew Rubenstein) Organization: Aiken Computation Lab, Harvard University Lines: 21