Hi Wouter, Did you build wxWidgets with configuring --enable-sound build option?
If you didn't use it, you can't use play and sound functions. http://wxhaskell.sourceforge.net/building.html Best Regards, On Thu, 14 Dec 2006 23:03:52 +0900, Wouter Swierstra <[EMAIL PROTECTED]> wrote: > I've been trying to play a .wav file from wxHaskell using: > > play (sound "bla.wav") > > Unfortunately, my program crashes as soon as this is invoked. I get > the following error message: > > user error (wxHaskell: NULL object: wavePlay) > > Is there some additional software that I need to install? I'd > appreciate any pointers. -- shelarcy <shelarcy capella.freemail.ne.jp> http://page.freett.com/shelarcy/ ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ wxhaskell-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wxhaskell-users
