Posts by Esp++
7 posts total, newest first.
Problem with injecting a DLLin C++/C Programming - Hi , I have a DLL made for a certain game programmed in c++/CLR , It works when i inject it to the game on my PC , But it doesnt work on my laptop , I already have c++ Redistributable installed on the laptop , I'm not su㪠Problem with the injected inline assembly codein C++/C Programming - [QUOTE=Harava;9613351]
Esp++, why don't you make a dll? Then you would have no need for the nasty WriteProcessMemory.
If you absolutely must use it, you could allocate some memory for yourself with VirtualAllocEx and π¬ Problem with the injected inline assembly codein C++/C Programming - [QUOTE=Harava;9611982]If you simply want to jump to a static address, do something like this:
#define ADDR 0x0092782B
#define ADDR2 ADDR+5
int main()
{
__asm
{
mov eax, ADDR
jmp eax
mo㪠Problem with the injected inline assembly codein C++/C Programming - i tried
jmp returnhere
but when i check the memory which was written to the process its
FF25 3CA00601 - jmp dword ptr [0106A03C]
The bytes should be
EB 26789206
or
e9 26789206
Im using VS Express 2012 , Could㪠Problem with the injected inline assembly codein C++/C Programming - [QUOTE=abuckau907;9611705]are you trying to get the path of execution to jump back to 0x00927826 + 5
OR
or is there a memory address stored at 0x00927826, which you read, then add 5 to, and jump there?
If the second,
Showing the 5 most recent posts.