mIRC Home    About    Download    Register    News    Help

Print Thread
#45904 31/08/03 11:07 PM
Joined: Dec 2002
Posts: 3,138
C
Hoopy frood
OP Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 3,138
$dllcall seems to crash mIRC if I don't specify a 4th parameter. Try this (the dll must exist for it to work):
//echo -a $dllcall(pokemon.dll,a,b)

#45905 31/08/03 11:28 PM
Joined: Dec 2002
Posts: 2,809
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 2,809
Yup, same thing happens here. It seems both $dllcall and $comcall have this problem. Additionally, it seems $comcall has another problem.

/comopen Excel.application
//echo -a $comcall(test,blah,Visible,3)

Next thing I know, mIRC is completely frozen and requires a ctrl+alt+del. And yes, alias blah exists (echo -a $1-) and if I do the same thing using $com, $com(test,Visible,3) it works perfectly.

And also with $dllcall, imho the alias should NOT be called if the dll didn't return anything. I have a function in a dll called DisplayWarning, it doesn't return anything to mIRC, however I wanted to use $dllcall rather than $dll so that mIRC isn't frozen until the dialog box is closed. Well I have the same blah alias above specified, and for some reason it calls that alias with the parameter being the path to the dll.

Honestly, I'm really starting to wonder, do features actually get tested when they get added to mIRC? It seems as though just about every single new feature has bugs in it. I woulda thought after a year of development, most of the bugs would have been worked out.

#45906 01/09/03 01:14 AM
Joined: Dec 2002
Posts: 56
Babel fish
Offline
Babel fish
Joined: Dec 2002
Posts: 56
I´ve seen these idents mentioned in the version.txt but I can´t find them in the help file frown

#45907 01/09/03 05:04 PM
Joined: Aug 2003
Posts: 1
L
Mostly harmless
Offline
Mostly harmless
L
Joined: Aug 2003
Posts: 1
i use thisi type ov thing to return a dll

dll $mdx bahh bahh

alias mdx { .return "path to dll" } works like a charm


Link Copied to Clipboard