| View previous topic :: View next topic |
| Author |
Message |
ralphmigcute Newbie cheater
Reputation: 0
Joined: 10 Jan 2010 Posts: 16
|
|
| Back to top |
|
 |
Dark Byte Site Admin
Reputation: 471
Joined: 09 May 2003 Posts: 25831 Location: The netherlands
|
Posted: Wed May 30, 2012 12:30 pm Post subject: |
|
|
At what part does it crash? When you call XSendMessage or at another part ?
here are some possibilities:
If not yet hooked:
Perhaps your program is compiled as 64-bit
If hooked:
perhaps the hook starts at the push ebp
Perhaps sendmessage has been hooked in kernelmode and relies on the usermode part to provide a special key _________________
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 |
|
 |
ralphmigcute Newbie cheater
Reputation: 0
Joined: 10 Jan 2010 Posts: 16
|
|
| Back to top |
|
 |
Obitio Advanced Cheater
Reputation: 0
Joined: 09 Apr 2012 Posts: 68 Location: null
|
Posted: Wed May 30, 2012 1:14 pm Post subject: Re: Sir |
|
|
| ralphmigcute wrote: | | Dark Byte wrote: | At what part does it crash? When you call XSendMessage or at another part ?
here are some possibilities:
If not yet hooked:
Perhaps your program is compiled as 64-bit
If hooked:
perhaps the hook starts at the push ebp
Perhaps sendmessage has been hooked in kernelmode and relies on the usermode part to provide a special key |
I am using x86 and i am compiling using x86 but still crashes
I am using Visual C++ 2010 i am coding a dll. |
lol whenever I try to hook stuff I can't do it either.I guess it may be a problem with 86-bit? |
|
| Back to top |
|
 |
Dark Byte Site Admin
Reputation: 471
Joined: 09 May 2003 Posts: 25831 Location: The netherlands
|
Posted: Wed May 30, 2012 3:53 pm Post subject: |
|
|
Go through it with a debugger and see if you can find out why it goes wrong _________________
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 |
|
 |
ralphmigcute Newbie cheater
Reputation: 0
Joined: 10 Jan 2010 Posts: 16
|
|
| Back to top |
|
 |
Dark Byte Site Admin
Reputation: 471
Joined: 09 May 2003 Posts: 25831 Location: The netherlands
|
Posted: Thu May 31, 2012 2:49 am Post subject: |
|
|
Try
GetModuleHandleA("user32.dll") _________________
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 |
|
 |
ralphmigcute Newbie cheater
Reputation: 0
Joined: 10 Jan 2010 Posts: 16
|
|
| Back to top |
|
 |
Dark Byte Site Admin
Reputation: 471
Joined: 09 May 2003 Posts: 25831 Location: The netherlands
|
Posted: Thu May 31, 2012 3:01 am Post subject: |
|
|
Does GetModuleHandle return 0 or GetProcAddress ? (split into 2 lines to see)
If GetModuleHandle returns 0, try LoadLibrary
If GetProcAddress returns 0, go parse the pe header manually (it's base address of module+virtual address of export) _________________
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 |
|
 |
ralphmigcute Newbie cheater
Reputation: 0
Joined: 10 Jan 2010 Posts: 16
|
|
| Back to top |
|
 |
Dark Byte Site Admin
Reputation: 471
Joined: 09 May 2003 Posts: 25831 Location: The netherlands
|
Posted: Thu May 31, 2012 4:51 am Post subject: |
|
|
Does your code even execute ?
Also, try using getlasterror to find the errorcode and look up why it fails
Also, if you're loading it in your dll entrypoint, you must use LoadLibraryA("user32.dll") _________________
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 |
|
 |
ralphmigcute Newbie cheater
Reputation: 0
Joined: 10 Jan 2010 Posts: 16
|
|
| Back to top |
|
 |
|