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 


[Tip]Anothor method to write long codes (Delphi)

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
DeletedUser14087
I post too much
Reputation: 2

Joined: 21 Jun 2006
Posts: 3069

PostPosted: Mon Jul 09, 2007 1:59 pm    Post subject: [Tip]Anothor method to write long codes (Delphi) Reply with quote

for example,shellexecute is a long code (dipends of the path/url)

for example,lets take this shellexecution..

Begin
ShellExecute(Handle,'open','the_long_code_will_be_placed_in_here',nil,nil,SW_SHOWNORMAL)
End;

SW_SHOWNORMAL = it will open the window as it was current

SW_MAXIMIZE = will open window in Maximized size

there's more,but i dont remember them...

now we will make it short,so we wont have to scroll delphi allways,its annoying...

Begin
ShellExecute
(Handle,
'open',
'the_long_code_will_be'
+
'_placed_in_here'
,nil,nil,SW_SHOWNORMAL)
End;


Last edited by DeletedUser14087 on Mon Jul 09, 2007 2:10 pm; edited 1 time in total
Back to top
View user's profile Send private message
HomerSexual
Grandmaster Cheater Supreme
Reputation: 5

Joined: 03 Feb 2007
Posts: 1657

PostPosted: Mon Jul 09, 2007 2:08 pm    Post subject: Reply with quote

uh this is stupid...>.>
_________________
Back to top
View user's profile Send private message
DeletedUser14087
I post too much
Reputation: 2

Joined: 21 Jun 2006
Posts: 3069

PostPosted: Mon Jul 09, 2007 2:09 pm    Post subject: Reply with quote

blankrider wrote:
uh this is stupid...>.>


Look Who's talking Laughing,Mister who dont know how to use ListBox

This is just a tip ';..;'
Back to top
View user's profile Send private message
xCodex
Grandmaster Cheater
Reputation: 0

Joined: 03 Oct 2006
Posts: 891

PostPosted: Mon Jul 09, 2007 2:35 pm    Post subject: Reply with quote

>_______>;
That was like... retarded. Almost as annoying as void's comment;
void wrote:
BTW Codex

Code:

for ( ;; )
{
   __asm
   {
      mov eax,[base]
      add eax,offset
      mov [eax],value
   }
}


Can be shorter

Code:

for ( ;; )
  { __asm   {
      mov eax,[base]
      add eax,offset
      mov [eax],value
   }
}


lul. (and it can be shorter than that)

_________________
Back to top
View user's profile Send private message
compactwater
I post too much
Reputation: 8

Joined: 02 Aug 2006
Posts: 3923

PostPosted: Mon Jul 09, 2007 3:10 pm    Post subject: Reply with quote

I think Kaspersky is talking about the 255 character limit on strings and such...
Back to top
View user's profile Send private message
HomerSexual
Grandmaster Cheater Supreme
Reputation: 5

Joined: 03 Feb 2007
Posts: 1657

PostPosted: Mon Jul 09, 2007 3:21 pm    Post subject: Reply with quote

Kaspersky, i dont know delphi Very Happy

lets see you fix my list box problem.

i give you the source you fix it?

you talk like it will only take a second or two

_________________
Back to top
View user's profile Send private message
TheSorc3r3r
I post too much
Reputation: 0

Joined: 06 Sep 2006
Posts: 2404

PostPosted: Mon Jul 09, 2007 3:21 pm    Post subject: Reply with quote

compactwater wrote:
I think Kaspersky is talking about the 255 character limit on strings and such...


Or he has no idea what he's talking about lol

lol @ that codex, who needs separate lines!?

_________________


Don't laugh, I'm still learning photoshop!
Back to top
View user's profile Send private message
DeletedUser14087
I post too much
Reputation: 2

Joined: 21 Jun 2006
Posts: 3069

PostPosted: Mon Jul 09, 2007 3:30 pm    Post subject: Reply with quote

TheSorc3r3r wrote:
compactwater wrote:
I think Kaspersky is talking about the 255 character limit on strings and such...


Or he has no idea what he's talking about lol

lol @ that codex, who needs separate lines!?


Im just trying to give a Tip.. Embarassed
Back to top
View user's profile Send private message
compactwater
I post too much
Reputation: 8

Joined: 02 Aug 2006
Posts: 3923

PostPosted: Tue Jul 10, 2007 4:31 am    Post subject: Reply with quote

The wealthy don't take a tip more than a tap. Wink
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: Tue Jul 10, 2007 4:33 am    Post subject: Reply with quote

Yeah, but each command I'll have to write a comment what's that weird command >_<
_________________
Back to top
View user's profile Send private message AIM Address Yahoo Messenger
compactwater
I post too much
Reputation: 8

Joined: 02 Aug 2006
Posts: 3923

PostPosted: Tue Jul 10, 2007 4:40 am    Post subject: Reply with quote

//Hello, I'm a comment.
//When I go out of the
//screen you tend to do
//this to me.

{ Now, you could do
this but some people
(like me) are too
lazy to think ahead. }

Form1.Width:=//This is a bad idea.//And doing this again won't work!
Form1.Width:={Here is what you SHOULD do!}100{And you can do it here, too.}; //And after the string, you can make comments
//like these!
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