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 


how can I compile the cheat engine in .dll?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Source
View previous topic :: View next topic  
Author Message
wepdata
How do I cheat?
Reputation: 0

Joined: 30 Dec 2015
Posts: 1

PostPosted: Wed Dec 30, 2015 8:12 pm    Post subject: how can I compile the cheat engine in .dll? Reply with quote

how can I compile the cheat engine in .dll?
I saw this on another forum and I really need it!
Back to top
View user's profile Send private message
mars2107
How do I cheat?
Reputation: 0

Joined: 19 Nov 2015
Posts: 3

PostPosted: Thu Feb 16, 2017 8:34 am    Post subject: Reply with quote

UP!

I changed the project file cheatengine.lpr

Code:
library cheatengine;
....
....
procedure MainThread(param: cardinal); stdcall;
...
....
.....
  Application.ShowMainForm:=false;
  Application.CreateForm(TMainForm, MainForm);
  Application.CreateForm(TMemoryBrowser, MemoryBrowser);
  Application.CreateForm(TformSettings, formSettings);
  Application.CreateForm(TAdvancedOptions, AdvancedOptions);
  Application.CreateForm(TComments, Comments);
  Application.CreateForm(TTypeForm, TypeForm);
...
...
end;

var dwTemp: DWORD;

begin
  showmessage('before create thread');
  CreateThread(nil,dwTemp,@MainThread,nil,0,dwTemp);
  showmessage('after create thread');
end.         



I can not even start the main thread at some initialization falls.

P.S. I do it for one reason. The process to which I connect hides the library. And I do not have access to them.
You can ask for the following versions of the libraries taking the base address through the driver
Back to top
View user's profile Send private message
STN
I post too much
Reputation: 28

Joined: 09 Nov 2005
Posts: 2305

PostPosted: Thu Feb 16, 2017 8:52 am    Post subject: Reply with quote

If you have to ask, i don't think you can do it
_________________
Cheat Requests/Tables- Fearless Cheat Engine
http://fearlessrevolution.com
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 329

Joined: 09 May 2003
Posts: 19537
Location: The netherlands

PostPosted: Fri Feb 17, 2017 5:43 am    Post subject: Reply with quote

perhaps you need to configure the application class first

e. g application.mainthread

or just show the form and wait till it closes


and not sure if threadvar designations work well in dlls

_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Back to top
View user's profile Send private message MSN Messenger
mars2107
How do I cheat?
Reputation: 0

Joined: 19 Nov 2015
Posts: 3

PostPosted: Tue Feb 21, 2017 7:36 am    Post subject: Reply with quote

It seems to me that when you run a program that is not Mauger be initialized and I did not reach the main flow.

How can I check? What forms are initialized in the order. Sorry for my English.
Back to top
View user's profile Send private message
backspace7410
How do I cheat?
Reputation: 0

Joined: 15 Jun 2016
Posts: 2

PostPosted: Tue Feb 21, 2017 2:44 pm    Post subject: lazarus dll Reply with quote

Lazarus does not find the entry point of the DLLPROC main function different from Delphi

You will need to implement the direct DLLPROC function

lazarus rtl \ win \ syswin.inc source code fix

Function Dll_entry {$ ifdef FPC_HAS_INDIRECT_MAIN_INFORMATION} (const info: TEntryInformation) {$ endif FPC_HAS_INDIRECT_MAIN_INFORMATION}: longbool; [Public, alias: '_ FPC_DLL_Entry'];

You will have to modify the function

Understand the driving method of DLLPROC to install Delphi and apply it to Lazarus

Lazarus does not have a functional type in which the EntryPoint point of the DLL is found

Question it to the Lazarus Forum or contact the Dark byte
(I do not know about how to implement this)
Back to top
View user's profile Send private message
mars2107
How do I cheat?
Reputation: 0

Joined: 19 Nov 2015
Posts: 3

PostPosted: Tue Feb 28, 2017 12:50 am    Post subject: Reply with quote

I do not really understand how to do this, read the manual on the network, could you give an example, please
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Source 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