mIRC Homepage
Posted By: Janno $dllcall gives wrong result - 05/02/08 06:27 PM
Hi,

there seems to be a problem with $dllcall - no matter which dll/dll function/parameter/callback alias specified, it always passes the dll's path to the specified alias instead of the function's return value.
Try it with any dll:

Quote:
//var %nothing $dllcall(name.dll, echo, function, parameters)


It will always echo 'name.dll' (possibly including the path of your mIRC directory). Works with any other alias (custom/built in), too.

Tested in 6.31 and 6.2.

EDIT:
Thanks to starGaming for pointing out that this is not a bug, but rather intended behavior. I'd be glad if a moderator could move this to the feature request section, as it would greatly enhance the usefulness of $dllcall.
Posted By: Sat Re: $dllcall gives wrong result - 06/02/08 08:13 PM
the feature suggestion being what?
Posted By: 5arah Re: $dllcall gives wrong result - 10/02/08 05:50 PM
hey sat
© mIRC Discussion Forums