Article View: news.software.readers
Article #165696[dialog] play sound script error
From: A.Translator
Date: Fri, 22 Apr 2005 16:10
Date: Fri, 22 Apr 2005 16:10
27 lines
1749 bytes
1749 bytes
After I reinstalled Windows and Dialog, I wanted to use the following
script to play a sound when my messages were replied to:
in program OnXover;
-----
function PlaySound( Filename: PChar; Options: LongWord ): Boolean;
external 'sndPlaySoundA@winmm.dll stdcall';
procedure OnXover(Var XoverData:TXoverData);
begin
if pos('@www.translatoria.com',xoverdata.references)>0 then
PlaySound( 'c:\windows\media\chimes.wav', 1 );
----------
On compiling this error is given:
[error] OnXOver.ds (6.1): Identifier expected.
I am using the latest beta 38, vs 2.0.15.1
Can anyone help me?
Thanks.
--
Groet,
Adriana.
[Throw rubbish out if you want to reach me by e-mail]
Technical Details
Message-ID:
<qdxp6sdht6p7$.dlg@www.translatoria.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.ams.giganews.com!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!news.glorb.com!feeder.xsnews.nl!feeder.news-service.com!azure.qinip.net!transit.news.xs4all.nl!post.news.xs4all.nl!not-for-mailShow Full Headers
Complete Article Headers
Message-ID: <qdxp6sdht6p7$.dlg@www.translatoria.com> Subject: [dialog] play sound script error Date: Fri, 22 Apr 2005 18:10:07 +0200 From: "A.Translator" <transRUBlatoria@yaBISHhoo.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.ams.giganews.com!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!news.glorb.com!feeder.xsnews.nl!feeder.news-service.com!azure.qinip.net!transit.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Newsgroups: news.software.readers User-Agent: 40tude_Dialog/2.0.15.1nl (09d62679.12.490) MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Reply-To: transRUBlatoria@yaBISHhoo.com Lines: 27 NNTP-Posting-Host: 194.109.198.166 X-Trace: 1114186205 news.xs4all.nl 95207 [::ffff:194.109.198.166]:26350 X-Complaints-To: abuse@xs4all.nl