[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
|
[news.eclipse.tools] invalid thread access when a "rebuild all" is performed
|
Hello everyone,
I have the following problem :
In my plug-in I instantiate an ActiveX. It will not run in the main STA, but
in the unique MTA of the processus.
I also have a builder who gets called each time the Java Builder completes
its work.
When a "rebuild all" is performed, my builder calls a method of an object
that runs in the workbench's thread.
This method calls an interface method of my ActiveX. In this case the
OleAutomation.invoke method returns
RPC_E_WRONG_THREAD and method invocation fails.
When an incremental build is launched, I also call methods of my ActiveX,
but everything is OK.
Any ideea why ?
Thanks
Adriana