I tried to see if I could get this to work, but it seems alien doesn't like entry points that start with a # (shell32.#61) or number (shell32.61). Below is the code which theoretically would work if it would try to resolve the entry point. Granted, I really don't know a lot about alien, so there may be another way of referencing an entry point. This code in the Global Lua tab, then you'd call aRunFileDlg from an action.shell32 = aliencore.load("shell32.dll")
gRunDialog = shell32.#61 //shell32.61 gives an error as well
gRunDialog:types{ ret = 'int', abi = 'stdcall', 'long', 'long', 'string', 'string', 'string', 'uint' }
function aRunFileDlg(hWnd, icon, path, title, prompt, flags)
return gRunFileDlg(hWnd, icon, path, title, prompt, flags)
end