http://bugs.winehq.org/show_bug.cgi?id=23949
--- Comment #4 from Jerome Leclanche adys.wh@gmail.com 2010-08-10 03:47:56 --- Created an attachment (id=30082) --> (http://bugs.winehq.org/attachment.cgi?id=30082) Not-so-test case
(09:34:33 AM) zezula: well, all error codes are generated by the same code:
// Open the archive if(!SFileOpenArchive(szMpqName, 0, dwFlags, &hMpq)) { nError = MessageBoxError(hWorkerDlg, IDS_E_CANT_OPEN_MPQ, GetLastError(), szMpqName); break; }
The author was kind enough to write a testcase, unfortunately it didn't display that behaviour. Still, here is the code and exe if anyone is interested and feels like using it to try and reproduce the issue.
Note that only some error messages appear under the active window; eg opening a folder or non-existing file. Opening a bad-format file doesn't generate an error.