View previous topic :: View next topic |
Author |
Message |
Twistedfate Expert Cheater
Reputation: 1
Joined: 11 Mar 2016 Posts: 231
|
Posted: Thu Jun 24, 2021 5:51 am Post subject: Calling exported function from dll |
|
|
I am trying to call bom function from cheatengine script
the dll code inside VS :
Code: |
extern "C" void bom()
{
MessageBoxA(nullptr, "bom", "Native DLL Test", MB_OK);
}
|
as u can see in the picture writeFileDlltest.bom is undefined .. I think I am doing it with the wrong way so what is the correct way to do that > also I read all threads relegated to this topic in CE forum but nothing work for me . |
|
Back to top |
|
 |
Dark Byte Site Admin
Reputation: 468
Joined: 09 May 2003 Posts: 25706 Location: The netherlands
|
Posted: Thu Jun 24, 2021 6:01 am Post subject: |
|
|
have you reloaded the symbollist after loading the dll ?
Can you find the symbol in enumerate dll's and symbols? _________________
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 |
|
 |
Twistedfate Expert Cheater
Reputation: 1
Joined: 11 Mar 2016 Posts: 231
|
Posted: Thu Jun 24, 2021 6:24 am Post subject: |
|
|
no can't be found I dont know what do u mean with reloading the symbol list
also searching function names with ctrl+g doesn't work |
|
Back to top |
|
 |
Dark Byte Site Admin
Reputation: 468
Joined: 09 May 2003 Posts: 25706 Location: The netherlands
|
Posted: Thu Jun 24, 2021 6:39 am Post subject: |
|
|
try retargeting the process with CE if it doesn't fill up _________________
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 |
|
 |
Twistedfate Expert Cheater
Reputation: 1
Joined: 11 Mar 2016 Posts: 231
|
Posted: Thu Jun 24, 2021 6:49 am Post subject: |
|
|
tried not working
if you have any dll to test maybe am doing something wrong ?
but at the same time after dll injection CE show function names but they are not added to the symbol list IDK why |
|
Back to top |
|
 |
Dark Byte Site Admin
Reputation: 468
Joined: 09 May 2003 Posts: 25706 Location: The netherlands
|
Posted: Thu Jun 24, 2021 6:56 am Post subject: |
|
|
how do you inject the dll ? using CE's force load method ? _________________
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 |
|
 |
Twistedfate Expert Cheater
Reputation: 1
Joined: 11 Mar 2016 Posts: 231
|
Posted: Thu Jun 24, 2021 7:05 am Post subject: |
|
|
mem view CTRl+I inject dll |
|
Back to top |
|
 |
Dark Byte Site Admin
Reputation: 468
Joined: 09 May 2003 Posts: 25706 Location: The netherlands
|
Posted: Thu Jun 24, 2021 7:26 am Post subject: |
|
|
run lua command reinitializeSymbolhandler() _________________
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 |
|
 |
Twistedfate Expert Cheater
Reputation: 1
Joined: 11 Mar 2016 Posts: 231
|
Posted: Thu Jun 24, 2021 7:34 am Post subject: |
|
|
The problem solved using Release instead of debug option in visual studio ..
so strange !!
and thank you for your time |
|
Back to top |
|
 |
|