| View previous topic :: View next topic |
| Author |
Message |
ZenX Grandmaster Cheater Supreme
Reputation: 1
Joined: 26 May 2007 Posts: 1021 Location: ">>Pointer<<" : Address 00400560 Offset :1FE
|
Posted: Fri Jul 06, 2007 8:55 pm Post subject: (*Playing Sound From Button Click*Delphi*) |
|
|
| Code: |
//Example Code
unit Unit1;
interface
uses
Windows, Classes, Forms, Dialogs, MmSystem, Controls, StdCtrls;
type
TForm1 = class(TForm)
Button1: TButton;
procedure Button1Click(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;
var
Form1: TForm1;
implementation
{$R *.DFM}
procedure TForm1.Button1Click(Sender: TObject);
begin
PlaySound('sound.wav',0,SND_FILENAME);
end;
end.
|
_________________
CEF Moderator since 2007 ^_^
ZenX-Engine |
|
| Back to top |
|
 |
bonbon56 Expert Cheater
Reputation: 0
Joined: 19 Jun 2007 Posts: 245 Location: Oxfordshire, Great Britain
|
Posted: Fri Jul 06, 2007 9:05 pm Post subject: |
|
|
What is the action to stop the sound?
_________________
|
|
| Back to top |
|
 |
ZenX Grandmaster Cheater Supreme
Reputation: 1
Joined: 26 May 2007 Posts: 1021 Location: ">>Pointer<<" : Address 00400560 Offset :1FE
|
Posted: Fri Jul 06, 2007 9:08 pm Post subject: Lol |
|
|
| bonbon56 wrote: | | What is the action to stop the sound? |
In this script there is none.
It will play the full file until it is done.
_________________
CEF Moderator since 2007 ^_^
ZenX-Engine |
|
| Back to top |
|
 |
UnLmtD Grandmaster Cheater
Reputation: 0
Joined: 13 Mar 2007 Posts: 894 Location: Canada
|
Posted: Fri Jul 06, 2007 9:10 pm Post subject: |
|
|
Yeah, but since you wrote this code you should be able to help him. Oh wait no, you didn't write it, you C/P it
_________________
|
|
| Back to top |
|
 |
bonbon56 Expert Cheater
Reputation: 0
Joined: 19 Jun 2007 Posts: 245 Location: Oxfordshire, Great Britain
|
Posted: Fri Jul 06, 2007 9:11 pm Post subject: |
|
|
Wouldja know how to create a new script that does? Or find one that already does?
_________________
|
|
| Back to top |
|
 |
ZenX Grandmaster Cheater Supreme
Reputation: 1
Joined: 26 May 2007 Posts: 1021 Location: ">>Pointer<<" : Address 00400560 Offset :1FE
|
Posted: Fri Jul 06, 2007 9:11 pm Post subject: |
|
|
| zomgiownyou wrote: | | Yeah, but since you wrote this code you should be able to help him. Oh wait no, you didn't write it, you C/P it |
Well, to begin with, I didnt say i wrote the code.Secondly, he didnt ask for help, he just asked where the Sop was and from my point of view, there is none.
_________________
CEF Moderator since 2007 ^_^
ZenX-Engine |
|
| Back to top |
|
 |
hcavolsdsadgadsg I'm a spammer
Reputation: 26
Joined: 11 Jun 2007 Posts: 5801
|
Posted: Fri Jul 06, 2007 9:14 pm Post subject: |
|
|
| bonbon56 wrote: | Wouldja know how to create a new script that does? Or find one that already does?  |
SND_PURGE
|
|
| Back to top |
|
 |
bonbon56 Expert Cheater
Reputation: 0
Joined: 19 Jun 2007 Posts: 245 Location: Oxfordshire, Great Britain
|
Posted: Sat Jul 07, 2007 10:26 am Post subject: |
|
|
| slovach wrote: | | bonbon56 wrote: | Wouldja know how to create a new script that does? Or find one that already does?  |
SND_PURGE |
Thank you slovach. At least you know what you're talking about instead of copying and pasting. That's the problem with copying and pasting from tuts. You really have to understand it.
_________________
|
|
| Back to top |
|
 |
|