Re: [dev] OLE can not be activated in Windows OS after Java integration

2009-08-19 Thread He Feng Su
--| |> | Subject: | |> >---------------------------| |Re: [dev] OLE can not be a

Re: [dev] OLE can not be activated in Windows OS after Java integration

2009-08-19 Thread Mikhail Voytenko
/2009 03:04 PM Subject: Re: [dev] OLE can not be activated in Windows OS after Java integration Hi, If the object can be activated when the document is loaded in the normal office, that would mean for me that a thre

Re: [dev] OLE can not be activated in Windows OS after Java integration

2009-08-19 Thread He Feng Su
--| |08/19/2009 03:04 PM | >---| |> | Subject: | |> >---------------------------------------| |R

Re: [dev] OLE can not be activated in Windows OS after Java integration

2009-08-19 Thread Mikhail Voytenko
Hi, If the object can be activated when the document is loaded in the normal office, that would mean for me that a threading problem takes place. COM does not support multi-threading ( as well as actually OOo ), so the object should be activated from the same thread where it was created. So

[dev] OLE can not be activated in Windows OS after Java integration

2009-08-18 Thread He Feng Su
Hello all, After I integrated OO3 into Java window, everything is OK. But I find that the OLE object in MS Office file can not be activated in windows OS. Per my debugging, the Windows APIs calling failed as below in "lib\embeddedobj\source\msole\olecomponent.cxx". hr = m_pNativeImpl->m_pOleO