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 


[Problem] Delphi...

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

Joined: 10 May 2007
Posts: 624
Location: Delete C:\WINDOWS folder and you'll be able to see me.

PostPosted: Wed Jul 11, 2007 10:50 am    Post subject: [Problem] Delphi... Reply with quote

Someone knows why does it happening? Crying or Very sad
http://img146.imageshack.us/img146/9521/untitleduh5.png



untitled.PNG
 Description:
*Cry* Probelm...
 Filesize:  55.31 KB
 Viewed:  5517 Time(s)

untitled.PNG



_________________
Back to top
View user's profile Send private message AIM Address Yahoo Messenger
appalsap
Moderator
Reputation: 0

Joined: 27 Apr 2006
Posts: 6753
Location: Pakistan

PostPosted: Wed Jul 11, 2007 10:52 am    Post subject: Reply with quote

because ShellExecute wants a PAnsiChar and you're giving it a TCaption. What's so hard to understand?
Back to top
View user's profile Send private message
Renkokuken
GO Moderator
Reputation: 4

Joined: 22 Oct 2006
Posts: 3249

PostPosted: Wed Jul 11, 2007 10:58 am    Post subject: Reply with quote

Pchar() or pAnsichar();
Back to top
View user's profile Send private message
DeletedUser14087
I post too much
Reputation: 2

Joined: 21 Jun 2006
Posts: 3069

PostPosted: Wed Jul 11, 2007 11:00 am    Post subject: Reply with quote

Renkokuken wrote:
Pchar() or pAnsichar();


Go Renko Go Renko ! Very Happy
Back to top
View user's profile Send private message
DevilGilad
Grandmaster Cheater
Reputation: 0

Joined: 10 May 2007
Posts: 624
Location: Delete C:\WINDOWS folder and you'll be able to see me.

PostPosted: Wed Jul 11, 2007 11:05 am    Post subject: Reply with quote

Where do I have to put those codes? O_O"
_________________
Back to top
View user's profile Send private message AIM Address Yahoo Messenger
Renkokuken
GO Moderator
Reputation: 4

Joined: 22 Oct 2006
Posts: 3249

PostPosted: Wed Jul 11, 2007 11:06 am    Post subject: Reply with quote

Around the path.

I suggest just pChar();
Back to top
View user's profile Send private message
DevilGilad
Grandmaster Cheater
Reputation: 0

Joined: 10 May 2007
Posts: 624
Location: Delete C:\WINDOWS folder and you'll be able to see me.

PostPosted: Wed Jul 11, 2007 11:11 am    Post subject: Reply with quote

Renkokuken wrote:
Around the path.

I suggest just pChar();

You mean
ShellExecute(Handle, 'Open', Edit3.Text+'pChar(:\Program Files\NEXON\MapleStory\MapleStory.exe'), nil, nil, SW_SHOWNORMAL) ;
?

_________________
Back to top
View user's profile Send private message AIM Address Yahoo Messenger
Renkokuken
GO Moderator
Reputation: 4

Joined: 22 Oct 2006
Posts: 3249

PostPosted: Wed Jul 11, 2007 11:13 am    Post subject: Reply with quote

pChar the edit string as well.
Back to top
View user's profile Send private message
hcavolsdsadgadsg
I'm a spammer
Reputation: 26

Joined: 11 Jun 2007
Posts: 5801

PostPosted: Wed Jul 11, 2007 4:21 pm    Post subject: Reply with quote

Why don't you use an OpenDialog to get the path? Check if your set path exists already, and if not, throw up the dialog so the user can set it.

Also, wouldn't that label just say Timer is now active or whatever right away?
Back to top
View user's profile Send private message
DevilGilad
Grandmaster Cheater
Reputation: 0

Joined: 10 May 2007
Posts: 624
Location: Delete C:\WINDOWS folder and you'll be able to see me.

PostPosted: Thu Jul 12, 2007 3:58 am    Post subject: Reply with quote

slovach wrote:
Why don't you use an OpenDialog to get the path? Check if your set path exists already, and if not, throw up the dialog so the user can set it.

Also, wouldn't that label just say Timer is now active or whatever right away?

Hmm.. The label is not that important... It's a part of my program Very Happy
Anyways, there's a way to do it like I did?
I want to write somethin' on a textbox (driver name), clicking OK button and then it'll open the program located on the path of C (for example).

_________________
Back to top
View user's profile Send private message AIM Address Yahoo 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