[Bug 30439] Lexware 2012 products update manager "LxUpdateManager" fails due to "LxWebAccess" COM server requiring WMI

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Apr 16 16:02:34 CDT 2012


http://bugs.winehq.org/show_bug.cgi?id=30439

Anastasius Focht <focht at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|-unknown                    |wmi&wbemprox

--- Comment #3 from Anastasius Focht <focht at gmx.net> 2012-04-16 16:02:34 CDT ---
Hello,

addendum, with some infrastructure from bug 20651 it specifically wants
CLSID_UnsecuredApartment:

--- snip ---
0047:Call ole32.CoCreateInstance(004bb320,00000000,00000017,004c7d48,00dae1f8)
ret=00470ef1
0047:trace:ole:CoCreateInstance (rclsid={49bd2028-1523-11d1-ad79-00c04fd8fdff},
pUnkOuter=(nil), dwClsContext=00000017,
riid={1cfaba8c-1523-11d1-ad79-00c04fd8fdff}, ppv=0xdae1f8)
0047:trace:ole:CoGetClassObject CLSID:
{49bd2028-1523-11d1-ad79-00c04fd8fdff},IID:
{00000001-0000-0000-c000-000000000046}
...
0047:err:ole:create_server class {49bd2028-1523-11d1-ad79-00c04fd8fdff} not
registered
0047:fixme:ole:CoGetClassObject CLSCTX_REMOTE_SERVER not supported
0047:err:ole:CoGetClassObject no class object
{49bd2028-1523-11d1-ad79-00c04fd8fdff} could be created for context 0x17
0047:Ret  ole32.CoCreateInstance() retval=80040154 ret=00470ef1 
--- snip ---

Update server log:

--- snip ---
[2012-04-16 22:42:49.0136] pID 62 tID 71 LxWebAccess version I80.00.0027
starting up
[2012-04-16 22:42:49.0142] pID 62 tID 71 Warning in method
[CLxWebAccessXMLConfigManager::LoadConfiguration]. Message: Cannot open file.
[2012-04-16 22:42:49.0144] pID 62 tID 71 Plugins found: 
[2012-04-16 22:42:49.0259] pID 62 tID 71   Etwork Diagnostic Tool          
?0.?"
[2012-04-16 22:42:49.0465] pID 62 tID 71 Error in method
[CLxSensNetworkManager::RegisterSubscriptions]. Message: Failed to create
EventSystem object Error code: 80040154.
[2012-04-16 22:42:49.0466] pID 62 tID 71 Error in method
[CLxSensNetworkManager::Init]. Message: RegisterSubscriptions failed.
[2012-04-16 22:42:49.0467] pID 62 tID 71 Error in method
[CLxWebAccessObject::FinalConstruct]. Message:
CLxSensNetworkManager::getInstance()->Init() failed.
[2012-04-16 22:42:49.0470] pID 62 tID 71 Error in method
[CLxWMINetworkManager::PrepareWMI]. Message:
pUnsecApp.CoCreateInstance(CLSID_UnsecuredApartment) failed. Error code:
80040154.
[2012-04-16 22:42:49.0471] pID 62 tID 71 Error in method
[CLxWMINetworkManager::Init]. Message: PrepareWMI or RegisterEvents failed.
[2012-04-16 22:42:49.0472] pID 62 tID 71 Error in method
[CLxWebAccessObject::FinalConstruct]. Message:
CLxWMINetworkManager::getInstance()->Init() failed.
--- snip ---

See: http://vdfwinapi.googlecode.com/svn/trunk/Include/WbemCli.Idl

--- snip ---
    [uuid(49bd2028-1523-11d1-ad79-00c04fd8fdff)]
    coclass UnsecuredApartment
    {
        interface IUnsecuredApartment;
        interface IWbemUnsecuredApartment;
    };

...

[restricted, uuid(1cfaba8c-1523-11d1-ad79-00c04fd8fdff), object]
interface IUnsecuredApartment : IUnknown
{
    HRESULT CreateObjectStub(
        [in] IUnknown* pObject,
        [out] IUnknown** ppStub);
};

typedef [v1_enum] enum tag_WBEM_UNSECAPP_FLAG_TYPE
{
        WBEM_FLAG_UNSECAPP_DEFAULT_CHECK_ACCESS = 0,
        WBEM_FLAG_UNSECAPP_CHECK_ACCESS = 1,
        WBEM_FLAG_UNSECAPP_DONT_CHECK_ACCESS = 2

} WBEM_UNSECAPP_FLAG_TYPE;

[restricted, uuid(31739d04-3471-4cf4-9a7c-57a44ae71956), object]
interface IWbemUnsecuredApartment : IUnsecuredApartment
{
    HRESULT CreateSinkStub( 
        [in] IWbemObjectSink* pSink,
        [in] DWORD dwFlags, // must be WBEM_UNSECAPP_FLAG_TYPE
        [in,unique] LPCWSTR wszReserved, // must be NULL 
        [out] IWbemObjectSink** ppStub );
};
--- snip ---

I hope WBEM/WMI gets picked up by GSoC applicant or other people.
It might seem undervalued compared with "popular" Wine topics but it will be
quite useful for lots of apps.

Regards

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.


More information about the wine-bugs mailing list