Well this is the cEngine.cpp and where the error is:
Code:
if( pThunk->u1.Function == ( PDWORD )pOldFunction )
{
VirtualProtect( ( void * )&pThunk->u1.Function, sizeof( DWORD ), PAGE_EXECUTE_READWRITE, &dwOldProtect );
pThunk->u1.Function = ( PDWORD )pNewFunction;
VirtualProtect( ( void * )&pThunk->u1.Function, sizeof( DWORD ), dwOldProtect, &dwOldProtect2 );
return( pOldFunction );
}
pThunk++;
}
return( NULL );
}
(All of the errors are in the ==)
Error is in this line:
if( pThunk->u1.Function == ( PDWORD )pOldFunction )
Error: Operand types are incompatible ("DWORD" AND "PDWORD")
And another error here:
pThunk->u1.Function = ( PDWORD )pNewFunction;
Error: A value of type "PDWORD" cannot be assigned to entity of type "DWORD"
Think you could explain more on how to fix?
Remember this is King Orgy's work so if he were to answer that would be great.
Bookmarks