[Error] Need Help

Posts 1–7 of 7 · Page 1 of 1
[Error] Need Help
error C2660: 'Memoria' : function does not take 1 arguments
Code:
bool Memoria( void * pDest, char * szPatch, size_t sSize )
{
DWORD dwOrgProtect = NULL;
if ( !VirtualProtect ( pDest, sSize, PAGE_EXECUTE_READWRITE, &dwOrgProtect ))
return FALSE;
 
memcpy( pDest, szPatch, sSize );
VirtualProtect( pDest, sSize, dwOrgProtect, NULL );
return TRUE;
}
^^ tht is added i dont know why its givin this error
Hmm check your codes.
when you use the memoria code eg
Memoria(( void* )(ADDIE), "\x90\x90\x90\x90\x90\x90", 6);

you have not filled in all the arguements
If you dont know what that means, then you should really get a book and study C++.
Quote Originally Posted by ac1d_buRn View Post
If you dont know what that means, then you should really get a book and study C++.
Good ideá....
Well in the books they will not show how to hack ca xD
Quote Originally Posted by R45H1D View Post
Well in the books they will not show how to hack ca xD
Depends on what book 0_0. But really, any noob in C++ would figure this one out. You didn't fill all parameters in your usage of this function. Try again
Posts 1–7 of 7 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us