Necros Posted February 24, 2011 Share Posted February 24, 2011 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 Link to comment Share on other sites More sharing options...
trancexx Posted February 24, 2011 Share Posted February 24, 2011 And how is DLL_EXPORT defined? ♡♡♡ . eMyvnE Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now