Necros 0 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 Share this post Link to post Share on other sites
trancexx 1,013 Posted February 24, 2011 And how is DLL_EXPORT defined? ♡♡♡ . eMyvnE Share this post Link to post Share on other sites