mIRC Home    About    Download    Register    News    Help

Topic Options
#265070 - 24/02/19 03:47 PM //dll -u $nopath(filename)
maroon Offline
Hoopy frood

Registered: 12/01/04
Posts: 1149
//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.

#265073 - 24/02/19 06:30 PM Re: //dll -u $nopath(filename) [Re: maroon]
Khaled Offline

Planetary brain

Registered: 04/12/02
Posts: 4445
Loc: London, UK
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.