>Is it possible to keep the handle in memory until the end of the program >?>>>> > > >Yes, you can keep the handle in memory. I would make SndHandle& a global, >then >do the GETRESOURCE in your initialization routine and lock the handle with >HLOCK. Then you can play it anytime without calling GETRESOURCE or >RELEASERESOURCE. When your program quits, check that SndHandle& is valid. If >so then HUNLOCK and RELEASERESOURCE. don't lock the handle, it would be better to: err = fn hnopurge(h&) and when you are finnished: err = hpurge(h&) pete... Voice/Answering Machine: 61 2 48621428 Fax: 61 2 48621580 email: furry@... snailMail: P.O.Box 781 Bowral NSW 2576 Australia Check out: http://www.hinet.net.au/~furry In the words of a 'famous' Vulcan: "Long Live And Prosper"