lguilhermee / Discord-DX11-Overlay-Hook

Discord Hooking
MIT License
227 stars 46 forks source link

return "bool" cannot be converted into "HCURSOR" #8

Open Tim2906 opened 3 years ago

Tim2906 commented 3 years ago

Hey, i cannot build the dll file because i always get the error message:

Screenshot_1 Screenshot_2

would be great if someone can help me with that :)

Xiloe commented 3 years ago

Google : https://stackoverflow.com/questions/64701918/i-get-the-error-c2440-but-i-dont-know-how-to-fix-it-please-can-someone-help-me

Solution : https://nigga.ltd/suckmydick/covid69-crack/blob/master/Cheeto/DiscordHook/Discord.cpp#L183

if (!addrSetCursor)
        return 0;
Tim2906 commented 3 years ago

Thank you :)

btw if i inject the dll into a process it only opens a terminal with the following content:

Screenshot_2

i just manual map the dll into the process

lguilhermee commented 3 years ago

Either the overlay module its not loaded, or the pattern is returning invalid

Xiloe commented 3 years ago

Thank you :)

btw if i inject the dll into a process it only opens a terminal with the following content:

Screenshot_2

i just manual map the dll into the process

Your process either doesn't have Discord overlay loaded in. You can check with processhacker go on your process and look the loaded modules. or your sigs are wrong.

EDIT: Didn't saw lguilhermee response lol. sorry.