PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : dll´s ...


shawn
15.03.2002, 15:03
hrhr english *fg*

ok people, i have a very short script here.
there are no problems with the ids or the alias names or filenames whatever, i´ve checked it all.

the part of the code that matters now is:

alias winnext { dll c:\mp3\mir.dll winamp next }
on *:dialog:winamp:*:*: {
if ($devent == sclick) && ($did == 3) { winnext }
}

this code looks fine from my point of view.

so if i call the alias manually it works great. no problems, winamp plays next song and everything is good :)
but if i click that button in the dialog i get:

NEXT Unknown command

dll: http://mitglied.lycos.de/goto_logs/files/mir.dll


Codeq
15.03.2002, 15:15
Does the NEXT unknown command comes from the dll as a reply or directly from mirc??

try $dll(mir.dll,winamp,next) instead of /dll

an define winnext as an alias within a remote script aybe this helps..
but i cannot see any syntax errors.. :mauer: but there must be one :D

shawn
15.03.2002, 15:19
i doesn´t do anything else

how can i check if it comes from the dll or from mirc?

Codeq
15.03.2002, 15:34
r there any lines that look like this?

* Invalid format: $dll
* $dll: no such routine ´winamp´
* /dll: no such routine ´winamp´
* /dll: unable to open ´mir.dll´

maybe u have to sepcify a target window where the alias has to be called... if it´s so mirc do have a bug calling dlls from a dialog window 8o

shawn
15.03.2002, 15:49
NEXT Unknown command

^^^^ this is the _only_ line which comes if i call the command from the dialog
if i call it from the allias there isn echo like this

next song

is this what you mean?

Codeq
15.03.2002, 15:56
yep
Does this work?

alias winnext { echo -wstatus $dll(c:\mp3\mir.dll,winamp,next) }
on *:dialog:winamp:*:*: {
if ($devent == sclick) && ($did == 3) { winnext }
}

shawn
15.03.2002, 16:05
* /echo: insufficient parameters (line 24, script.ini)
-
NEXT Unknown command
-

^^^ this called the thing you gave me

Mac Fly
15.03.2002, 17:20
Wieso eigentlich English? Shawn?

naja egal...

alias winnext { dll mir.dll winamp next }
This works fine @ me...

shawn
15.03.2002, 18:12
mal abwechslung :P
?? kannst du nich lesen??

Mac Fly
15.03.2002, 22:30
ups, sorry. Aber komisch, den gleichen Fehler hab ich auch... egal wie ichs mach.. *grübel*

shawn
18.03.2002, 18:49
weis keiner ne antwort??? :(