http://bugs.winehq.org/show_bug.cgi?id=6829
------- Additional Comments From oberon@wildwein.de 2006-25-12 16:38 ------- Since Lei Zhang (see Comment #6) was not able to reproduce this bug I experimented a bit with different native versions of comdlg2.dll:
1. trying to use native libraries from Windows XP: I copied comdlg32.dll from Windows XP %windir%\system32 to ~/.wine/drive_c/windows/system32 and switchted in winecfg to use native for comdlg32: BlackBox starts, but cancelling the open dialogue results in a badly crash (illegal memory read ...), requiring a kill -i <PID> (of BlackBox) and yielding to a message on the console where BlackBox was started:
err:ole:CoGetClassObject class {603d3800-bd81-11d0-a3a5-00c04fd706ec} not registered err:ole:CoGetClassObject class {603d3800-bd81-11d0-a3a5-00c04fd706ec} not registered err:ole:CoGetClassObject no class object {603d3800-bd81-11d0-a3a5-00c04fd706ec} could be created for context 0x3 fixme:shell:IsOS (OS_TABLEPC) What should we return here? fixme:shell:SHGetAppCompatFlags (0x00020000) stub
To avoid calling that native library I renamed ~/.wine/drive_c/windows/system32/comdlg32.dll to comdlg32_xp.dll
2. I then tied to use the native libraries from Windows 98SE: I copied comdlg32.dll from Windows 98SE %windir%\system to ~/.wine/drive_c/windows/system and retried.
Alas this time everything works as expected. No assertion is triggered. Switching to builtin in winecfg recreates the assertion.