mIRC Home    About    Download    Register    News    Help

Print Thread
#265070 24/02/19 03:47 PM
Joined: Jan 2004
Posts: 2,127
maroon Offline OP
Hoopy frood
OP Offline
Hoopy frood
Joined: Jan 2004
Posts: 2,127
//dll -u $nopath(filename)
is not following the same filename convention used by $read $readini /write /writeini etc.

While I understand the 'by design' behavior to allow unloading dll's without needing to reference the full/relative path if it's located outside $mircdir, it should probably give precedence to the dll located in $mircdir before making $nopath() matches against a name-string that doesn't include a path.

If you have foobar.dll located in $mircdir and c:\otherpath\foobar.dll and they're both loaded in memory, "/dll -u foobar.dll" unloads whichever one is loaded first in the $dll(number) sequence instead of first seeing if it's located in $mircdir.

Joined: Dec 2002
Posts: 5,411
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 5,411
Thanks for your bug report. This is by design and has worked this way for a very long time, it cannot be changed without potentially affecting existing scripts unfortunately.


Link Copied to Clipboard