Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


(*Playing Sound From Button Click*Delphi*)

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
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

PostPosted: Fri Jul 06, 2007 8:55 pm    Post subject: (*Playing Sound From Button Click*Delphi*) Reply with quote

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
View user's profile Send private message Yahoo Messenger
bonbon56
Expert Cheater
Reputation: 0

Joined: 19 Jun 2007
Posts: 245
Location: Oxfordshire, Great Britain

PostPosted: Fri Jul 06, 2007 9:05 pm    Post subject: Reply with quote

What is the action to stop the sound?
_________________

Back to top
View user's profile Send private message MSN Messenger
ZenX
Grandmaster Cheater Supreme
Reputation: 1

Joined: 26 May 2007
Posts: 1021
Location: ">>Pointer<<" : Address 00400560 Offset :1FE

PostPosted: Fri Jul 06, 2007 9:08 pm    Post subject: Lol Reply with quote

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
View user's profile Send private message Yahoo Messenger
UnLmtD
Grandmaster Cheater
Reputation: 0

Joined: 13 Mar 2007
Posts: 894
Location: Canada

PostPosted: Fri Jul 06, 2007 9:10 pm    Post subject: Reply with quote

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
View user's profile Send private message
bonbon56
Expert Cheater
Reputation: 0

Joined: 19 Jun 2007
Posts: 245
Location: Oxfordshire, Great Britain

PostPosted: Fri Jul 06, 2007 9:11 pm    Post subject: Reply with quote

Wouldja know how to create a new script that does? Or find one that already does? Very Happy
_________________

Back to top
View user's profile Send private message MSN Messenger
ZenX
Grandmaster Cheater Supreme
Reputation: 1

Joined: 26 May 2007
Posts: 1021
Location: ">>Pointer<<" : Address 00400560 Offset :1FE

PostPosted: Fri Jul 06, 2007 9:11 pm    Post subject: Reply with quote

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
View user's profile Send private message Yahoo Messenger
hcavolsdsadgadsg
I'm a spammer
Reputation: 26

Joined: 11 Jun 2007
Posts: 5801

PostPosted: Fri Jul 06, 2007 9:14 pm    Post subject: Reply with quote

bonbon56 wrote:
Wouldja know how to create a new script that does? Or find one that already does? Very Happy


SND_PURGE
Back to top
View user's profile Send private message
bonbon56
Expert Cheater
Reputation: 0

Joined: 19 Jun 2007
Posts: 245
Location: Oxfordshire, Great Britain

PostPosted: Sat Jul 07, 2007 10:26 am    Post subject: Reply with quote

slovach wrote:
bonbon56 wrote:
Wouldja know how to create a new script that does? Or find one that already does? Very Happy


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
View user's profile Send private message MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites