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 


[delphi] changing own class name

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

Joined: 15 May 2007
Posts: 3496

PostPosted: Sun Feb 03, 2008 9:06 am    Post subject: [delphi] changing own class name Reply with quote

hello,

I'm trying to change ny own Classname in delphi, it's usually TApplication, but I can't find anything to change it.
How do I do that?


thanks in advance Smile
Back to top
View user's profile Send private message
Michel
Expert Cheater
Reputation: 0

Joined: 16 May 2007
Posts: 214
Location: The Netherlands

PostPosted: Sun Feb 03, 2008 9:15 am    Post subject: Reply with quote

I don`t think it`s possbile, because eeven Delphi32.exe uses that classname I thought...
atleast, not for TApplication
Back to top
View user's profile Send private message
DeletedUser14087
I post too much
Reputation: 2

Joined: 21 Jun 2006
Posts: 3069

PostPosted: Sun Feb 03, 2008 9:30 am    Post subject: Reply with quote

the ClassName is the Form's Name (if that's what you mean)
Back to top
View user's profile Send private message
Reak
I post too much
Reputation: 0

Joined: 15 May 2007
Posts: 3496

PostPosted: Sun Feb 03, 2008 9:48 am    Post subject: Reply with quote

Well it's okay, I'm gonna use FindWindowEx
Back to top
View user's profile Send private message
DeletedUser14087
I post too much
Reputation: 2

Joined: 21 Jun 2006
Posts: 3069

PostPosted: Sun Feb 03, 2008 9:54 am    Post subject: Reply with quote

timo, you said you're using CreateWindow();

look at the first param, lpClassName, so here we know you enter the desire classname you want for your new window.

CreateWindow('MyClass',lpWindowName,..

then, the created window will get a classname called 'MyClass'
Back to top
View user's profile Send private message
Reak
I post too much
Reputation: 0

Joined: 15 May 2007
Posts: 3496

PostPosted: Sun Feb 03, 2008 10:06 am    Post subject: Reply with quote

lol I didn't.
Delphi does that automatically.
Back to top
View user's profile Send private message
HolyBlah
Master Cheater
Reputation: 2

Joined: 24 Aug 2007
Posts: 446

PostPosted: Sun Feb 03, 2008 11:30 am    Post subject: Reply with quote

You can change the class name by using ASM.
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