本文介紹了如何使用來自 64 位進程的 32 位 COM 對象?的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學(xué)習(xí)吧!
問題描述
我在 64 位計算機上使用 Jacob(JAVA COM 橋接器)并希望從 32 位 DLL 加載 COM 對象.我該怎么做?
I Use Jacob (JAVA COM Bridge) on a 64 Bit Machine and want to load COM Objects from a 32 bit DLL. How can I do that?
推薦答案
我解決了如下問題: 創(chuàng)建了一個小的 32 位進程外 COM 服務(wù)器 (.exe) 作為工廠 COM 對象來創(chuàng)建需要 32 位對象.所以現(xiàn)在我的應(yīng)用程序運行 64 位并使用 32 位 COM 對象.
I solved the problem as follows: Created a small 32 bit out-of-process COM server (.exe) that serves as a factory COM object to create the needed 32 bit objects. So now my app is running 64bit and using 32 bit COM objects.
My64bitApp<-->32BitOutOfProcFactory<-->32bitCOMServerDLL
My64bitApp<-->32BitOutOfProcFactory<-->32bitCOMServerDLL
這篇關(guān)于如何使用來自 64 位進程的 32 位 COM 對象?的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網(wǎng)!
【網(wǎng)站聲明】本站部分內(nèi)容來源于互聯(lián)網(wǎng),旨在幫助大家更快的解決問題,如果有圖片或者內(nèi)容侵犯了您的權(quán)益,請聯(lián)系我們刪除處理,感謝您的支持!