Задайте вопросЗадайте вопрос
 

ОтвеченоIllegal System DLL Relocation?

  • 28 сентября 2006 г. 5:48Crend King _Old Profile_ Медали пользователяМедали пользователяМедали пользователяМедали пользователяМедали пользователя
     

    When I intend to manually load the user32.dll into memory, after loading the sections and calling its DllMain, an error message appears that the system dll was relocated in memory.

    If I load it at its preferred ImageBase and thus do not do relocation, this error occurs. However, if I load it into a system choosed address (pass NULL to VirtualAlloc), no error occurs. I can confirm that the loading position of the sections of user32.dll are as correct as the specification tells. Could anyone tell me why?

    Sincerely thanks!

Ответы

Все ответы