http://bugs.winehq.org/show_bug.cgi?id=25243
--- Comment #22 from Anastasius Focht focht@gmx.net 2012-04-21 07:52:23 CDT --- Hello,
this is the problematic part, causing SafeDisc protected apps that load Gecko engine through mshtml to fail:
Wine-gecko source: http://wine.git.sourceforge.net/git/gitweb.cgi?p=wine/wine-gecko;a=blob;f=ip...
--- snip --- 48 void PlatformThread::SetName(const char* name) { 49 // The debugger needs to be around to catch the name in the exception. If 50 // there isn't a debugger, we are just needlessly throwing an exception. 51 if (!::IsDebuggerPresent()) 52 return; 53 54 THREADNAME_INFO info; 55 info.dwType = 0x1000; 56 info.szName = name; 57 info.dwThreadID = CurrentId(); 58 info.dwFlags = 0; 59 60 MOZ_SEH_TRY { 61 RaiseException(kVCThreadNameException, 0, sizeof(info)/sizeof(DWORD), 62 reinterpret_cast<DWORD_PTR*>(&info)); 63 } MOZ_SEH_EXCEPT(EXCEPTION_CONTINUE_EXECUTION) { 64 } 65 } --- snip ---
Regards