Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!hplabs!hp-ses!hpcc01!hpwrce!ted From: ted@hpwrce.HP.COM ( Ted Johnson) Newsgroups: comp.sys.mac.programmer Subject: LSC bizarre problem: SndPlay() Message-ID: <7430011@hpwrce.HP.COM> Date: 30 Mar 89 23:29:02 GMT Organization: HP North American Response Center Lines: 46 I'm having a really bizarre problem. The following 10 line LSC 2.13 program used to work fine, under System/Finder 4.1/5.5 and System/Finder 4.2/6.0 but now it blows up with ID = 12 (which I.M. II-364 says means "Unimplemented core routine: An unimplemented trap number encountered"). on 4.2/6.0. Anyone have any clues? #include main() { Handle SoundH; SoundH = GetResource('snd ', 4);/*the monkey screech*/ if (soundH) { SndPlay(0L, SoundH, 1); } else { SysBeep(10); } } ***As far as I can tell, NOTHING HAS CHANGED (famous last words, no?) with the 4.2/6.0 boot disk since this program used to work.... BTW, if I change the GetResource call to this line: GetNamedResource('snd ', "\pMonkey");, then it blows up with ID=12 on both System/Finder's. Also, I tried initializing all of the managers before calling GetResource(), but it didn't help. Any and all help would be GREATLY APPRECIATED!!! Thanks! -Ted P.S. This is on an SE HD20.