Please help to fix throwing of "Access violation writing location" exception (C++)
1 Attachment(s)
Here below is attached source code of function set_hook, which works, but after performance of the callback function and transfer control back to function __common_hook_proc, on a line 80 (mov byte ptr [edi], 0E9h) is throwing exception "Access violation writing location". Help fix please!
P.S. Sorry for BAD english, but please help to me!! |
Re: Please help to fix throwing of "Access violation writing location" exception (C++
Quote:
|
Re: Please help to fix throwing of "Access violation writing location" exception (C++
This is not my code, I only want to adapt it for my bot without crashes :)
|
Re: Please help to fix throwing of "Access violation writing location" exception (C++
(mov byte ptr [edi], 0E9h) + Join Date: Feb 2010
*sigh* I'll give a look. |
Re: Please help to fix throwing of "Access violation writing location" exception (C++
Quote:
P.S. Link to hook page (IN RUSSIAN :{D) http://awin.spb.ru/articles/hook1.html |
Re: Please help to fix throwing of "Access violation writing location" exception (C++
Quote:
http://forums.alliedmods.net/showthread.php?t=72322 |
Re: Please help to fix throwing of "Access violation writing location" exception (C++
I already have it, but I do not like. (too much code)
P.S. Please do not offer other ways to hook - I need only this! |
Re: Please help to fix throwing of "Access violation writing location" exception (C++
Quote:
|
Re: Please help to fix throwing of "Access violation writing location" exception (C++
He's doing some really advanced stuff, will be faster if he learns the AMXx structure in detail before trying some ASM hax.
|
Re: Please help to fix throwing of "Access violation writing location" exception (C++
What I am doing has nothing to do with AMXX mod. But I think that because of this nobody will blame me.
Well, somebody help me? :P |
| All times are GMT -4. The time now is 08:48. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.