mIRC Home    About    Download    Register    News    Help

Print Thread
#147193 15/04/06 08:32 PM
Joined: Dec 2002
Posts: 11
C
ChRoNoN Offline OP
Pikka bird
OP Offline
Pikka bird
C
Joined: Dec 2002
Posts: 11
I searched the forum and the answer I found was not enough.

The same very thing as usual: The function called from the dll take a few seconds to return, so let's use $dllcall to not hang mIRC.

But my problem is that the function fills the data variable and I need that data to be in $1- when the $dllcall call the alias, but that is not happening instead of the data content I get the fullpath to the dll (which makes no sense).

I tried:

$dllcall(sistema\Dll\darkenginepro.dll,echo $1-,banddown,_)
$dllcall(sistema\Dll\darkenginepro.dll,echo,banddown,_)

Am I doing something wrong? If this isn't implemented for me is like that $dllcall is 50% senseless since you cannot have return value of the call.

Thanks ins advance,
sérgio.

#147194 15/04/06 08:50 PM
Joined: Jan 2003
Posts: 2,523
Q
Hoopy frood
Offline
Hoopy frood
Q
Joined: Jan 2003
Posts: 2,523
You're not doing anything wrong, there is indeed no way (that I know of) to get the 'data'. I agree this seriously limits its usefulness.


/.timerQ 1 0 echo /.timerQ 1 0 $timer(Q).com
#147195 15/04/06 08:54 PM
Joined: Dec 2002
Posts: 11
C
ChRoNoN Offline OP
Pikka bird
OP Offline
Pikka bird
C
Joined: Dec 2002
Posts: 11
I read some posts about this in this forum, I really don't agree with some people. Depending on how mr khaled implemented this, is should be very easy to call the alias with the content of data.

Well, let's hope that mr khaled will implement this in the next version.

sérgio.

#147196 16/04/06 09:14 AM
Joined: Sep 2005
Posts: 2,881
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Sep 2005
Posts: 2,881
I can't think of a single reason not to do this so hopefully he will smile


Link Copied to Clipboard