Jump to content

Recommended Posts

Posted

hello friends i try to call this function in my dll

#include "main.h"
// a sample exported function
void DLL_EXPORT SomeFunction(const LPCSTR sometext)
{
    MessageBoxA(0, sometext, "DLL Message", MB_OK | MB_ICONINFORMATION);
}

i already used this args

$foda = DllOpen("re.dll")
DllCall($foda,"int", "SomeFunction", "hwnd" , "str", "Some text", "str", "Some title", "int", 0)
DllCall($foda,"int", "SomeFunction", "hwnd" , "str", "Some text", "str", "Some title", "int", 0)
DllCall($foda,"str","SomeFunction","str","str")
DllCall($foda,"str","SomeFunction","str", 0)
DllCall($foda, "dword:cdecl", "SomeFunction", "int","ds", "int", 119)
DllCall($foda, "int", "SomeFunction", "hwnd", 0, "str", "Some text", "str", "Some title", "int", 0)
DllCall($foda, "int", "SomeFunction", "hwnd", 0)
DllCall("user32", "int", "GetAsyncKeyState", "int", 0xFFFFFFFF)

not work pls help to learn this function :)

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...