View previous topic :: View next topic |
Author |
Message |
wepdata How do I cheat? Reputation: 0
Joined: 30 Dec 2015 Posts: 1
|
Posted: Wed Dec 30, 2015 8:12 pm Post subject: how can I compile the cheat engine in .dll? |
|
|
how can I compile the cheat engine in .dll?
I saw this on another forum and I really need it!
|
|
Back to top |
|
|
mars2107 How do I cheat? Reputation: 0
Joined: 19 Nov 2015 Posts: 3
|
Posted: Thu Feb 16, 2017 8:34 am Post subject: |
|
|
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 |
|
|
STN I post too much Reputation: 42
Joined: 09 Nov 2005 Posts: 2672
|
Posted: Thu Feb 16, 2017 8:52 am Post subject: |
|
|
If you have to ask, i don't think you can do it
_________________
|
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 458
Joined: 09 May 2003 Posts: 25295 Location: The netherlands
|
Posted: Fri Feb 17, 2017 5:43 am Post subject: |
|
|
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.
Like my help? Join me on Patreon so i can keep helping |
|
Back to top |
|
|
mars2107 How do I cheat? Reputation: 0
Joined: 19 Nov 2015 Posts: 3
|
Posted: Tue Feb 21, 2017 7:36 am Post subject: |
|
|
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 |
|
|
backspace7410 How do I cheat? Reputation: 0
Joined: 15 Jun 2016 Posts: 2
|
Posted: Tue Feb 21, 2017 2:44 pm Post subject: lazarus dll |
|
|
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 |
|
|
mars2107 How do I cheat? Reputation: 0
Joined: 19 Nov 2015 Posts: 3
|
Posted: Tue Feb 28, 2017 12:50 am Post subject: |
|
|
I do not really understand how to do this, read the manual on the network, could you give an example, please
|
|
Back to top |
|
|
|