$dllcall(filename, alias, procname, data)
Is it feasible to have a parameter where this passes more than $longfn(filename) back to the alias?
That would make $dllcall more useful to allow a dll to perform a slow task and report the answer later. Enabling support for a dll which doesn't store the results then waits for the alias to make a procname call to fetch it.