mIRC Home    About    Download    Register    News    Help

Print Thread
#243901 09/01/14 08:38 AM
Joined: Sep 2005
Posts: 116
Vogon poet
OP Offline
Vogon poet
Joined: Sep 2005
Posts: 116
Hi,
Identifier won't return -1.

Code:
test {
  if ($msfile(*.*,Select a file(s) below,&Ok)) {
    echo -s * $v1
    if ($v1 < 0) echo -s Too many files are selected.
    else {
      var %n 1
      while ($msfile(%n)) {
        echo -s * %n - $v1
        inc %n
      }
    }
  }
}


mIRC 7.32 / Win7.x64
Regards.


when no one watching us
we are invisible
deVilbaT #243902 09/01/14 09:51 AM
Joined: Dec 2002
Posts: 5,411
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 5,411
Thanks for your bug report. This appears to be a Windows 7/8 bug in the GetOpenFileName() API. I have implemented a fix around the bug for the next version.


Link Copied to Clipboard