pts@watt.acc.Virginia.EDU (Paul T. Shannon) (09/04/89)
I've just written my first xcmd, in Lightspeed C, for HyperCard. The program is as simple as possible: it consists of only two lines: SysBeep (48); SysBeep (48); When I compile this program, and run it as a normal Mac application, it behaves as you (and IM) expect: two beeps that last on the order of a second each. When I compile the program as a code resource (called 'myBeep'), use resedit to copy it to a simle HyperCard Stack, and run it from a HyperCard button script, I hear the two beeps as expected, but both are very short. It's as if the duration parameter (48) is completely lost. Does anyone know what's going on here? - Paul Shannon pts@virginia.edu