Jump to content
Sign in to follow this  

[Help] i need help to call func in my dll

Recommended Posts


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", 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 :)

Share this post

Link to post
Share on other sites

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
Sign in to follow this  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.