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] execute a string

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

Joined: 28 May 2007
Posts: 212
Location: Trying helping ppl at cef.

PostPosted: Thu Jan 31, 2008 9:48 am    Post subject: [delphi] execute a string Reply with quote

I'm trying to learn delphi and atm im learning 2 use .ini files. Right know im doing a "quick lanucher" for me and i need help with the .ini..

i got the command for reading the .ini, but when im trying 2 execute it it says something like it cant execute a "string"


(im using a string to trying and execute it)

plz someone help me or give me a link were i can find the answer..

_________________






post count:
150 [X] 200 [X] 250 [ ] 300 [ ]
Back to top
View user's profile Send private message MSN Messenger
Reak
I post too much
Reputation: 0

Joined: 15 May 2007
Posts: 3496

PostPosted: Thu Jan 31, 2008 11:16 am    Post subject: Reply with quote

I don't get it what you mean by executing it.
Post the line where the error is.
Back to top
View user's profile Send private message
HolyBlah
Master Cheater
Reputation: 2

Joined: 24 Aug 2007
Posts: 446

PostPosted: Thu Jan 31, 2008 11:23 am    Post subject: Reply with quote

you mean using ShellExecute?

If yes remember that all texts must be PCHAR.
Back to top
View user's profile Send private message
thepettson
Expert Cheater
Reputation: 0

Joined: 28 May 2007
Posts: 212
Location: Trying helping ppl at cef.

PostPosted: Thu Jan 31, 2008 1:12 pm    Post subject: Reply with quote

HolyBlah wrote:
you mean using ShellExecute?

If yes remember that all texts must be PCHAR.


oh yes, i forgot 2 tell u that i was uding that. Thx you very much, now i may get it working ^^

_________________






post count:
150 [X] 200 [X] 250 [ ] 300 [ ]
Back to top
View user's profile Send private message MSN Messenger
Reak
I post too much
Reputation: 0

Joined: 15 May 2007
Posts: 3496

PostPosted: Thu Jan 31, 2008 1:31 pm    Post subject: Reply with quote

Oh now I got it.
But you should use CreateProcess() for that.
Back to top
View user's profile Send private message
rapion124
Grandmaster Cheater Supreme
Reputation: 0

Joined: 25 Mar 2007
Posts: 1095

PostPosted: Thu Jan 31, 2008 4:15 pm    Post subject: Reply with quote

In this case, ShellExecute is better because the string might be a website.
Back to top
View user's profile Send private message
thepettson
Expert Cheater
Reputation: 0

Joined: 28 May 2007
Posts: 212
Location: Trying helping ppl at cef.

PostPosted: Fri Feb 01, 2008 4:34 am    Post subject: Reply with quote

rapion124 wrote:
In this case, ShellExecute is better because the string might be a website.


ur right, i will have URLs on the "quick lanucher"

_________________






post count:
150 [X] 200 [X] 250 [ ] 300 [ ]
Back to top
View user's profile Send private message MSN Messenger
Anden100
Grandmaster Cheater
Reputation: 0

Joined: 20 Apr 2007
Posts: 668

PostPosted: Fri Feb 01, 2008 9:43 am    Post subject: Reply with quote

you should look through this Razz its a source for autoopen by Riot

http://theoklibrary.org/downloads.php?do=file&id=32

rEakW0n wrote:
Oh now I got it.
But you should use CreateProcess() for that.

how do you use that??? i normally always use shellexecute
Back to top
View user's profile Send private message
HolyBlah
Master Cheater
Reputation: 2

Joined: 24 Aug 2007
Posts: 446

PostPosted: Fri Feb 01, 2008 10:29 am    Post subject: Reply with quote

CreateProcess
Back to top
View user's profile Send private message
Anden100
Grandmaster Cheater
Reputation: 0

Joined: 20 Apr 2007
Posts: 668

PostPosted: Fri Feb 01, 2008 11:23 am    Post subject: Reply with quote

well... ty
Back to top
View user's profile Send private message
BEO-WULF
Expert Cheater
Reputation: 0

Joined: 27 Jan 2008
Posts: 138
Location: Green Bay, Wisconsin

PostPosted: Sat Feb 02, 2008 2:05 am    Post subject: Reply with quote

shellexecutor was supposed to be used in order for it to pass through 0/1 might of done that but then again maybe it might not of.
_________________


4 L1F3 ( + [__] : : ) 4 L1F3
Back to top
View user's profile Send private message Yahoo Messenger
HolyBlah
Master Cheater
Reputation: 2

Joined: 24 Aug 2007
Posts: 446

PostPosted: Sat Feb 02, 2008 2:14 pm    Post subject: Reply with quote

BEO-WULF wrote:
shellexecutor was supposed to be used in order for it to pass through 0/1 might of done that but then again maybe it might not of.

Your post count should be 0 again.


Please leave this section and go to Random Spam.
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