[Bug 6829] BlackBox Component Builder: File Open, cancel triggers assert

Wine Bugs wine-bugs at winehq.org
Fri Mar 16 19:32:43 CDT 2007


http://bugs.winehq.org/show_bug.cgi?id=6829





------- Additional Comments From focht at gmx.net  2007-16-03 19:32 -------
Hello,

windows GetOpenFileName() resets the extended error before calling real file
dialog stuff.
Any subsequent error (resource loader, filesystem i/o) overwrites the initial
errorcode reset (with value != 0).
This is how its implemented on windows. Believe it or not...

In wine reset using COMDLG32_SetCommDlgExtendedError(0) in GetOpenFileNameA/W()
before calling any stuff.
Same applies to GetSaveFileNameA/W().

Of course this doesnt "heal" the 4104 (PDERR_NODEFAULTPRN) error because it's
probably occurring within file dialog handling code thus overwriting inital reset.
This works as intended. 

Regards

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the wine-bugs mailing list