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 


SetCurrentDir('memo2.line.text'); ??? DELPhi

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
xiyuno
Newbie cheater
Reputation: 0

Joined: 09 Dec 2007
Posts: 17
Location: hey

PostPosted: Sun Nov 22, 2009 9:42 am    Post subject: SetCurrentDir('memo2.line.text'); ??? DELPhi Reply with quote

Is it possible to have a memo(or label or somekind of other text) that can change the directory when i push a button ? I have tried SetCurrentDir('memo2.line.text'); but that dont work. Is it possible and how ?
_________________
Oh yeah? Yeah. Oh yeah? Yeah. Oh yeah? Yeah.
Oh yeah? Yeah. Oh yeah? God damn yeah!
Back to top
View user's profile Send private message MSN Messenger
HomerSexual
Grandmaster Cheater Supreme
Reputation: 5

Joined: 03 Feb 2007
Posts: 1657

PostPosted: Sun Nov 22, 2009 11:00 am    Post subject: Re: SetCurrentDir('memo2.line.text'); ??? DELPhi Reply with quote

xiyuno wrote:
Is it possible to have a memo(or label or somekind of other text) that can change the directory when i push a button ? I have tried SetCurrentDir('memo2.line.text'); but that dont work. Is it possible and how ?


i would remove the ' ' from it. Idk about delphi, but in C++ if you have a variable like that you would not put it in quotes, only strings.

_________________
Back to top
View user's profile Send private message
iPromise
Grandmaster Cheater
Reputation: -1

Joined: 27 Jun 2009
Posts: 529
Location: Canada

PostPosted: Sun Nov 22, 2009 11:25 am    Post subject: Reply with quote

In delphi the ' is like " in C++.

Do this:

Code:

SetCurrentDir(Memo1.Text);


Your error is that your putting ' in Memo1.Text which is stupid because you dont need ' for a string.
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