From: "David C. Hoos, Sr." Newsgroups: comp.os.msdos.djgpp References: <386FBA6E DOT CFA57AE8 AT pepparkakor DOT demon DOT nl> Subject: Re: What is wrong? Lines: 36 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Newsreader: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Message-ID: NNTP-Posting-Host: 158.252.122.157 X-Complaints-To: abuse AT earthlink DOT net X-Trace: newsread1.prod.itd.earthlink.net 946896424 158.252.122.157 (Mon, 03 Jan 2000 02:47:04 PST) NNTP-Posting-Date: Mon, 03 Jan 2000 02:47:04 PST Organization: EarthLink Network, Inc. X-ELN-Date: Mon Jan 3 02:47:04 2000 X-ELN-Insert-Date: Mon Jan 3 02:47:04 2000 X-Posted-Path-Was: not-for-mail Date: Mon, 03 Jan 2000 10:47:04 GMT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Roger wrote in message news:386FBA6E DOT CFA57AE8 AT pepparkakor DOT demon DOT nl... > Hi !! > > When I try this little program,my computer make a reboot,and that is not > what I like,so please,what is wrong? > > #include > #include > #include > > #include "allegro.h" The above line should be #include > > SAMPLE *det; > > int main() { > allegro_init(); > install_timer(); > install_sound(DIGI_AUTODETECT,MIDI_AUTODETECT,0); > det=load_wav("applouse.wave"); The above filename is suspicious. Should it be "applause.wav" ? > play_sample(det,255,127,9000,-1); > } > > >