Index: src/plugin/PluginClass.cpp |
=================================================================== |
--- a/src/plugin/PluginClass.cpp |
+++ b/src/plugin/PluginClass.cpp |
@@ -813,7 +813,15 @@ |
if (CPluginClient::GetInstance()->IsFirstRun()) |
{ |
- CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)CPluginClass::FirstRunThread, NULL, NULL, NULL); |
+ // IE6 can't be accessed from another thread, execute in current thread |
Felix Dahlke
2013/08/11 11:23:12
So you mean we cannot create threads in IE? If so,
Oleksandr
2013/08/11 16:26:53
What I mean is that IE6 COM object can not be cont
Felix Dahlke
2013/08/11 16:58:18
No, I think the current one nails it then.
|
+ if (CPluginClient::GetInstance()->GetIEVersion() < 7) |
+ { |
+ FirstRunThread(); |
+ } |
+ else |
+ { |
+ CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)CPluginClass::FirstRunThread, NULL, NULL, NULL); |
+ } |
if ((m_hPaneWnd == NULL) || (!IsStatusBarEnabled())) |
{ |
ShowStatusBar(); |