United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6491795 COM should be initialized for Shell API calls in ShellFolder2.cpp
JDK-6491795 : COM should be initialized for Shell API calls in ShellFolder2.cpp

Details
Type:
Bug
Submit Date:
2006-11-09
Status:
Closed
Updated Date:
2014-05-14
Project Name:
JDK
Resolved Date:
2011-03-07
Component:
client-libs
OS:
windows_vista
Sub-Component:
javax.swing
CPU:
x86
Priority:
P2
Resolution:
Fixed
Affected Versions:
6,6u1
Fixed Versions:

Related Reports
Backport:
Backport:
Duplicate:
Duplicate:
Duplicate:
Duplicate:
Duplicate:
Duplicate:
Relates:
Relates:
Relates:
Relates:
Relates:
Relates:

Sub Tasks

Description
ShellFolder2.cpp uses Shell API without proper COM initialization. It leads some calls to fail and others to work incorrectly. According to MSDN COM should be initialized on a thread before using it on that thread.

                                    

Comments
EVALUATION

Calls to COM API should be done on a thread where COM is already initialized.
                                     
2006-11-09
EVALUATION

When COM is handled properly, it also fixes the bugs listed in the "See Also" section.
                                     
2007-03-14



Hardware and Software, Engineered to Work Together