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 


[C++]ShellExecute

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

Joined: 23 Sep 2006
Posts: 1226
Location: Singapore

PostPosted: Fri Mar 16, 2007 6:39 am    Post subject: [C++]ShellExecute Reply with quote

Why is it that when i use the ShellExecute function to run my hack programmes, the settings will be re-created at the place where I place my exe file. For example dxwnd.ini will be re-created. Uzeil's Mini Engine's kekekeke.jpg will not be found. What will be a better way to solve this?
_________________
//GOD!!! THOSE STUPID RETARDED SHITHEADS NEVER MAKE IT PAST THIS STEP!!!!!!
//Thats why it's out....
Back to top
View user's profile Send private message MSN Messenger
appalsap
Moderator
Reputation: 0

Joined: 27 Apr 2006
Posts: 6753
Location: Pakistan

PostPosted: Fri Mar 16, 2007 6:41 am    Post subject: Reply with quote

has nothing to do with shellexecute Wink
_________________
Back to top
View user's profile Send private message
Death4ngel
Grandmaster Cheater Supreme
Reputation: 0

Joined: 23 Sep 2006
Posts: 1226
Location: Singapore

PostPosted: Fri Mar 16, 2007 8:23 am    Post subject: Reply with quote

But when i use Bat file to run my Progs nothing happened! Something to do with my C++. lol
_________________
//GOD!!! THOSE STUPID RETARDED SHITHEADS NEVER MAKE IT PAST THIS STEP!!!!!!
//Thats why it's out....
Back to top
View user's profile Send private message MSN Messenger
flawedmatrix
Grandmaster Cheater
Reputation: 0

Joined: 21 Jun 2006
Posts: 819
Location: 14598622 for yourself...

PostPosted: Fri Mar 16, 2007 2:55 pm    Post subject: Reply with quote

No, it has something to do with the program's focused directory, so you have to set it like SetCurrentDir(blahblahblahdirectory) in Delphi.
_________________
Back to top
View user's profile Send private message Visit poster's website AIM Address
Death4ngel
Grandmaster Cheater Supreme
Reputation: 0

Joined: 23 Sep 2006
Posts: 1226
Location: Singapore

PostPosted: Fri Mar 16, 2007 8:35 pm    Post subject: Reply with quote

I'm using C++!! Will look up that SetCurrentDir function thing later.

Edit: Okay I've done it with Delphi. But I'm still interested to solve it using C++

_________________
//GOD!!! THOSE STUPID RETARDED SHITHEADS NEVER MAKE IT PAST THIS STEP!!!!!!
//Thats why it's out....
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