| 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.
|
Posted: Thu Jan 31, 2008 9:48 am Post subject: [delphi] execute a string |
|
|
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 |
|
 |
Reak I post too much
Reputation: 0
Joined: 15 May 2007 Posts: 3496
|
Posted: Thu Jan 31, 2008 11:16 am Post subject: |
|
|
I don't get it what you mean by executing it.
Post the line where the error is.
|
|
| Back to top |
|
 |
HolyBlah Master Cheater
Reputation: 2
Joined: 24 Aug 2007 Posts: 446
|
Posted: Thu Jan 31, 2008 11:23 am Post subject: |
|
|
you mean using ShellExecute?
If yes remember that all texts must be PCHAR.
|
|
| Back to top |
|
 |
thepettson Expert Cheater
Reputation: 0
Joined: 28 May 2007 Posts: 212 Location: Trying helping ppl at cef.
|
Posted: Thu Jan 31, 2008 1:12 pm Post subject: |
|
|
| 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 |
|
 |
Reak I post too much
Reputation: 0
Joined: 15 May 2007 Posts: 3496
|
Posted: Thu Jan 31, 2008 1:31 pm Post subject: |
|
|
Oh now I got it.
But you should use CreateProcess() for that.
|
|
| Back to top |
|
 |
rapion124 Grandmaster Cheater Supreme
Reputation: 0
Joined: 25 Mar 2007 Posts: 1095
|
Posted: Thu Jan 31, 2008 4:15 pm Post subject: |
|
|
| In this case, ShellExecute is better because the string might be a website.
|
|
| Back to top |
|
 |
thepettson Expert Cheater
Reputation: 0
Joined: 28 May 2007 Posts: 212 Location: Trying helping ppl at cef.
|
Posted: Fri Feb 01, 2008 4:34 am Post subject: |
|
|
| 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 |
|
 |
Anden100 Grandmaster Cheater
Reputation: 0
Joined: 20 Apr 2007 Posts: 668
|
Posted: Fri Feb 01, 2008 9:43 am Post subject: |
|
|
you should look through this 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 |
|
 |
HolyBlah Master Cheater
Reputation: 2
Joined: 24 Aug 2007 Posts: 446
|
|
| Back to top |
|
 |
Anden100 Grandmaster Cheater
Reputation: 0
Joined: 20 Apr 2007 Posts: 668
|
Posted: Fri Feb 01, 2008 11:23 am Post subject: |
|
|
| well... ty
|
|
| Back to top |
|
 |
BEO-WULF Expert Cheater
Reputation: 0
Joined: 27 Jan 2008 Posts: 138 Location: Green Bay, Wisconsin
|
Posted: Sat Feb 02, 2008 2:05 am Post subject: |
|
|
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 |
|
 |
HolyBlah Master Cheater
Reputation: 2
Joined: 24 Aug 2007 Posts: 446
|
Posted: Sat Feb 02, 2008 2:14 pm Post subject: |
|
|
| 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 |
|
 |
|