mIRC Homepage
Posted By: maroon //dll -u $nopath(filename) - 24/02/19 03:47 PM
//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.
Posted By: Khaled Re: //dll -u $nopath(filename) - 24/02/19 06:30 PM
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.
© mIRC Discussion Forums