Sign in to follow this  
Followers 0
Necros

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

2 posts in this topic

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

Share this post


Link to post
Share on other sites



And how is DLL_EXPORT defined?


♡♡♡

.

eMyvnE

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  
Followers 0