mIRC Home    About    Download    Register    News    Help

Print Thread
#194507 05/02/08 06:27 PM
Joined: Aug 2004
Posts: 5
J
Janno Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
J
Joined: Aug 2004
Posts: 5
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.

Last edited by Janno; 05/02/08 06:32 PM.
Joined: Apr 2004
Posts: 871
Sat Offline
Hoopy frood
Offline
Hoopy frood
Joined: Apr 2004
Posts: 871
the feature suggestion being what?


Saturn, QuakeNet staff
Joined: Feb 2008
Posts: 11
5
Pikka bird
Offline
Pikka bird
5
Joined: Feb 2008
Posts: 11
hey sat


Link Copied to Clipboard