]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/ole/automtn.cpp
hook the docview-specific customization of event handling logic at TryValidator(...
[wxWidgets.git] / src / msw / ole / automtn.cpp
index 3fb683fbcfab46eb130ad91ba2f9a59721f4f121..b99c9c8d92a8bc3efd2b3386305bf457e938c774 100644 (file)
@@ -539,7 +539,7 @@ bool wxAutomationObject::CreateInstance(const wxString& classId) const
     }
 
     // start a new copy of Excel, grab the IDispatch interface
-    if (FAILED(CoCreateInstance(clsId, NULL, CLSCTX_LOCAL_SERVER, IID_IDispatch, (void**)&m_dispatchPtr)))
+    if (FAILED(CoCreateInstance(clsId, NULL, CLSCTX_ALL, IID_IDispatch, (void**)&m_dispatchPtr)))
     {
         wxLogWarning(wxT("Cannot start an instance of this class."));
         return false;