Help with DLL call

Ask gaming related questions
Posts: 1
Joined: 11 Dec 2020, 14:04

Help with DLL call

Post by cronoxliker » 15 Dec 2020, 13:56

Hello, I found a dll that simulates human mouse movements but I can not make it work, who can help me?

Source from 'mousedll.cpp':

Code: Select all

MOUSEDLL_API int MouseClick(const HWND hwnd, const RECT rect, const MouseButton button, const int clicks)

https /OpenHoldem/MouseDLL.html Broken Link for safety

ty :dance:

Posts: 4126
Joined: 11 Jan 2017, 17:59

Re: Help with DLL call

Post by swagfag » 16 Dec 2020, 02:32

ull have to find out what the defines are mapped to. if HWND and RECT are the ones from the windows headers, their type is Ptr. MouseButton could be anything(a pointer, an enum, etc), so ud have to check.
sample code could look like this:

Code: Select all

DllCall("the_dll_name.dll\MouseClick", "Ptr", some_hwnd, "Ptr", &of_a_varsetcapacity_allocated_rect, ??????, ?????, "Int", number_of_clicks)

Post Reply

Return to “Gaming”