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 


Delphi Help.

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
kopelito
Master Cheater
Reputation: 0

Joined: 20 Apr 2007
Posts: 483

PostPosted: Sun Jul 22, 2007 4:55 am    Post subject: Delphi Help. Reply with quote

Im trying to make a program with delphi 7.
And I wanna do that when I will click on a button MzBot will open.
How do I do that?
Back to top
View user's profile Send private message
UnLmtD
Grandmaster Cheater
Reputation: 0

Joined: 13 Mar 2007
Posts: 894
Location: Canada

PostPosted: Sun Jul 22, 2007 4:57 am    Post subject: Reply with quote

CreateProcess http://msdn2.microsoft.com/en-us/library/ms682425.aspx
_________________
Back to top
View user's profile Send private message
Kevin
Grandmaster Cheater Supreme
Reputation: 0

Joined: 07 Mar 2007
Posts: 1139
Location: Spiderman-World

PostPosted: Sun Jul 22, 2007 5:06 am    Post subject: Reply with quote

or ShellExecute ?
Back to top
View user's profile Send private message MSN Messenger
UnLmtD
Grandmaster Cheater
Reputation: 0

Joined: 13 Mar 2007
Posts: 894
Location: Canada

PostPosted: Sun Jul 22, 2007 5:11 am    Post subject: Reply with quote

You use ShellExecute to open files such as a .txt or .doc However if you want to run a process, it's better to use CreateProcess
_________________
Back to top
View user's profile Send private message
kopelito
Master Cheater
Reputation: 0

Joined: 20 Apr 2007
Posts: 483

PostPosted: Sun Jul 22, 2007 5:18 am    Post subject: Reply with quote

I started learning delphi just yesterday so..nab :]
Can anyone explain me more deeply what to do?
Back to top
View user's profile Send private message
KingZero
Expert Cheater
Reputation: 0

Joined: 27 Jun 2006
Posts: 103

PostPosted: Sun Jul 22, 2007 11:10 am    Post subject: Reply with quote

Code:
shellexecute(handle,nil,pchar('Path to your .exe'),nil,nil,SW_SHOWNORMAL);
Back to top
View user's profile Send private message
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