[Bug 46466] Accessing 32-bit DLLs from 64-bit code through COM as an IPC mechanism

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Jan 15 06:40:38 CST 2019


https://bugs.winehq.org/show_bug.cgi?id=46466

--- Comment #6 from Reinhold <reinhold.hoffmann at hotmail.com> ---
Created attachment 63289
  --> https://bugs.winehq.org/attachment.cgi?id=63289
Demo with CoCreateInstance and explicitely specified architecture

I tried 
=====================================================================================
IServerWrapperPtr ptr = NULL;
HRESULT hr = CoCreateInstance(__uuidof(ServerWrapper),
                NULL,
                CLSCTX_LOCAL_SERVER | CLSCTX_ACTIVATE_32_BIT_SERVER,
                __uuidof(IServerWrapperPtr),
                reinterpret_cast<void**>(&ptr));
=====================================================================================
(please find attacted "ClientModified_001.cpp" and the accordingly built
"ClientModified_x64_001.exe") 
where I explicitely specified architecture. 

This works fine on Windows but on Wine the result is still REGDB_E_CLASSNOTREG
= 0x80040154L

Or do I do something wrong here (additional flags required)?
Please let me know if there is a way in the current Wine-4.0 where it may work
or confirm the bug report.

If there is anything more that I can provide, please let me know.

Again, many thx for immediately providing comments.

-- 
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