- Stud_PE could not add the DLL to this main, so the asker used OllyDbg with the hook tutorial.
- After adding the code, fix the new entry point of the main with LordPE.
- Work out the entry point value with the Windows calculator in Programmer mode (HEX), subtracting the addresses as the reply explains.
- Another option from the reply: hook your DLL into another DLL that the main already loads.
LordPE / OllyDbg: hooking a DLL into a 97D main (Caron free main) fails because of the new entry point
Tool: LordPE, OllyDbg (main.exe)
The topic starter confirmed that this worked.
The topic starter, 2018-08-22 (original words)Original words (Spanish)
“Tema solucionado ,gracias @Natzugen. Arregle el nuevo entry point con Lord_PE y la calculadora”