Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!thunder.mcrcim.mcgill.edu!snorkelwacker.mit.edu!usc!wuarchive!udel!rochester!pt.cs.cmu.edu!o.gp.cs.cmu.edu!andrew.cmu.edu!gt0t+ From: gt0t+@andrew.cmu.edu (Gregory Ross Thompson) Newsgroups: comp.sys.apple2 Subject: I need a little assistance Message-ID: Date: 6 Feb 91 02:25:38 GMT Organization: Carnegie Mellon, Pittsburgh, PA Lines: 25 I'm trying to do something REALLY simple here, but it just doesn't work. All I wanna do is allocate a little memory, and then start up the sound tools. Can someone tell me why this little bit of code doesn't work? /* global vars */ Word MyID; Handle STHandle; void startup() { int err=0; MyID = MMStartUp(); STHandle = NewHandle((LongWord)0x100, MyID, 0xC005, NULL); SoundStartUp(*STHandle); } From what I can tell, it's allocating the handle just fine, but when it de-references it to a pointer, and sends it to SoundStartUp, it crashes big time. Am I doing something fundamentally wrong here? -Greg .