🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #259694

Re: [Dialog] Script check

#259694
From: Sqwertz
Date: Fri, 06 Nov 2015 04:27
23 lines
1586 bytes
On Thu, 5 Nov 2015 20:59:45 +0000, Jim S wrote:

> I thought this would send me a sound when someone replied to a post, but
> it's not working. 
> Can someone tell me what I did wrong.
> 
> function PlaySound( Filename: PChar; Options: LongWord ): Boolean;
> external '***@winmm.dll stdcall';
> 
> procedure OnXover(Var XoverData:TXoverData);
> begin
> if pos('@jimXscott.co.uk',xoverdata.references)>0 then
> PlaySound('c:\windows\media\notify.wav', 1 );
> end;
> 
> begin
> end.

What is "***"?  I see somebody posted that script 12 years ago, but
that just doesn't look right.  Maybe try 'sndPlaySoundA' instead of 
'***'?  That's what all the examples I see use.

-sw
Technical Details
Message-ID: <6bimlyt85m8c.dlg@sqwertz.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.(126883).mbox.7z!not-for-mail
References: <uozbanidqg7h.dlg@jimXscott.co.uk>

Show Full Headers
Complete Article Headers
Message-ID: <6bimlyt85m8c.dlg@sqwertz.com>
Subject: Re: [Dialog] Script check
Date: Thu, 5 Nov 2015 22:27:43 -0600
From: Sqwertz <swertz@cluemail.compost>
References: <uozbanidqg7h.dlg@jimXscott.co.uk>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.(126883).mbox.7z!not-for-mail
Newsgroups: news.software.readers
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130620 Thunderbird/17.0.7
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Organization: Me, Myself, and Inc.
X-no-archive: yes
Lines: 23
X-Complaints-To: abuse@blocknews.net
NNTP-Posting-Date: Fri, 06 Nov 2015 04:27:42 UTC
X-Received-Bytes: 1367
X-Received-Body-CRC: 1098201412