[問題] x86程式呼叫x64 dll

看板C_and_CPP作者 (史萊姆)時間7年前 (2019/01/25 17:10), 編輯推噓6(600)
留言6則, 6人參與, 6年前最新討論串1/1
開發平台(Platform): (Ex: Win10, Linux, ...) Win7, Win10 編譯器(Ex: GCC, clang, VC++...)+目標環境(跟開發平台不同的話需列出) VC++ 額外使用到的函數庫(Library Used): (Ex: OpenGL, ...) OpenCV, OpenVino 問題(Question): 已經寫好一款x86程式也驗證過,今天想要使用intel openvino去跑AI, 但是openvino好像只支援x64,有辦法讓x86程式去呼叫x64的dll嗎, 還是勢必得把程式改成x64的呢? 謝謝。 餵入的資料(Input): image 預期的正確結果(Expected Output): 錯誤結果(Wrong Output): 程式碼(Code):(請善用置底文網頁, 記得排版,禁止使用圖檔) 補充說明(Supplement): -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 220.130.190.13 ※ 文章網址: https://www.ptt.cc/bbs/C_and_CPP/M.1548407404.A.CC4.html

01/26 13:39, 7年前 , 1F
之前做過 我記得不行 樓下解答
01/26 13:39, 1F

01/26 14:12, 7年前 , 2F
8行放7吧
01/26 14:12, 2F

01/26 19:50, 7年前 , 3F
abi好像不同八
01/26 19:50, 3F

01/28 17:44, 6年前 , 4F
你可以寫個x64的程式讓x86的程式去呼叫 (X
01/28 17:44, 4F

01/29 14:47, 6年前 , 5F
樓上正解阿...
01/29 14:47, 5F

01/30 21:02, 6年前 , 6F
用 Out-of-process COM 去做即可
01/30 21:02, 6F
文章代碼(AID): #1SIj9ip4 (C_and_CPP)