mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Nov 2006
Posts: 2
T
Tpau Offline OP
Bowl of petunias
OP Offline
Bowl of petunias
T
Joined: Nov 2006
Posts: 2
Hi,

the problem descirbed below happens with mirc in V 6.2 and 6.21:
Code:
  
  var %line = some text

  var %resulted1 = $dll( crypt.dll , algorithm1 , %line )
  dll -u crypt.dll  ;doesn't work to unload the dll immediately!
  var %resulted2 = $dll( crypt.dll , algorithm1 , %line )

  echo result1: %resulted1
  echo result2: %resulted2

.... this code worked well in versions before!

after some testing it seems, that $dll doesn't get unloaded, thus cannot re-initialize itself (since V6.2).

...but the bug is even worse:
it affects separate events, when the same dll is called within approximately 1 second!

calling /dll -u as workaround within an event or alias doen't help, DLL stays loaded and pre-initialized with wrong values

regards!

Joined: Mar 2003
Posts: 612
B
Fjord artisan
Offline
Fjord artisan
B
Joined: Mar 2003
Posts: 612
from mirc 6.2 versions.txt

Quote:
69.Custom DLLs are now delay-unloaded to allow subclassing DLLs to
work better. The UnloadDLL routine is still called at the same
point as before.


could this be your problem?

btk


billythekid
Joined: Nov 2006
Posts: 2
T
Tpau Offline OP
Bowl of petunias
OP Offline
Bowl of petunias
T
Joined: Nov 2006
Posts: 2
I've read that - prob is: you cannot even FORCE instant unloading as documented

Joined: Dec 2002
Posts: 5,424
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 5,424
Thanks this has been fixed for the next version.


Link Copied to Clipboard