Issue 79326 - Remove CoInitializeEx from oslWorkerWrapperFunction
Summary: Remove CoInitializeEx from oslWorkerWrapperFunction
Status: ACCEPTED
Alias: None
Product: porting
Classification: Code
Component: code (show other issues)
Version: 680m219
Hardware: All Windows, all
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-06 14:14 UTC by nospam4obr
Modified: 2013-02-07 21:58 UTC (History)
4 users (show)

See Also:
Issue Type: TASK
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description nospam4obr 2007-07-06 14:14:02 UTC
The shell execute service must be used in a STA context, but in OSL all threads
are already initialized with a MTA. So either the code needs to rely on
CoUninitialize to work correctly or we remove the CoInitializeEx from the
oslWorkerWrapperFunction.
Comment 1 kay.ramme 2007-07-06 14:45:12 UTC
.
Comment 2 nospam4obr 2008-07-23 12:14:13 UTC
In CWS register30 I marked the SystemShellExecute service implementation for
Windows as thread affine and added a CoUnitialize/CoInitialize sequence in its
c'tor.

The same sequence already exists in the online update check module, which
probably is obsolete with the latest change.

Both should be cleaned up when we drop the CoInitialize in sal.