久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

  • <legend id='J32T4'><style id='J32T4'><dir id='J32T4'><q id='J32T4'></q></dir></style></legend>

    <small id='J32T4'></small><noframes id='J32T4'>

      <i id='J32T4'><tr id='J32T4'><dt id='J32T4'><q id='J32T4'><span id='J32T4'><b id='J32T4'><form id='J32T4'><ins id='J32T4'></ins><ul id='J32T4'></ul><sub id='J32T4'></sub></form><legend id='J32T4'></legend><bdo id='J32T4'><pre id='J32T4'><center id='J32T4'></center></pre></bdo></b><th id='J32T4'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='J32T4'><tfoot id='J32T4'></tfoot><dl id='J32T4'><fieldset id='J32T4'></fieldset></dl></div>
    1. <tfoot id='J32T4'></tfoot>

          <bdo id='J32T4'></bdo><ul id='J32T4'></ul>
      1. c++ 和 actionscript 3 之間的通信

        Communication between c++ and actionscript 3(c++ 和 actionscript 3 之間的通信)
            <bdo id='ylkgw'></bdo><ul id='ylkgw'></ul>
          • <i id='ylkgw'><tr id='ylkgw'><dt id='ylkgw'><q id='ylkgw'><span id='ylkgw'><b id='ylkgw'><form id='ylkgw'><ins id='ylkgw'></ins><ul id='ylkgw'></ul><sub id='ylkgw'></sub></form><legend id='ylkgw'></legend><bdo id='ylkgw'><pre id='ylkgw'><center id='ylkgw'></center></pre></bdo></b><th id='ylkgw'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='ylkgw'><tfoot id='ylkgw'></tfoot><dl id='ylkgw'><fieldset id='ylkgw'></fieldset></dl></div>
            <tfoot id='ylkgw'></tfoot>

                    <tbody id='ylkgw'></tbody>
                • <small id='ylkgw'></small><noframes id='ylkgw'>

                  <legend id='ylkgw'><style id='ylkgw'><dir id='ylkgw'><q id='ylkgw'></q></dir></style></legend>

                  本文介紹了c++ 和 actionscript 3 之間的通信的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                  問題描述

                  是否可以使用任何 IPC 機制從 Adob??e Flash 動作腳本調用 c++ api?有什么好的例子嗎?

                  Is it possible to use any IPC mechanism for calling a c++ api from Adobe Flash actionscript? Are there any good examples?

                  更新:我現在主要希望它用于桌面應用程序,即 Adob??e 的/或任何其他人的桌面運行時

                  Update: I primarily want it for desktop apps now i.e Adobe's/or anyuone else's desktop runtimes

                  推薦答案

                  不是來自 Flash Player,因為它很可能會違反其安全模型.您可以從 Tamarin VM 調用 C++,例如 mod-actionscript 正在執行.一種選擇是將您的調用傳遞到 AS3 服務器,在那里調用一些 C++ 函數并將結果發回.另一種選擇是使用 alchemy 將 C++ 代碼交叉編譯到 AVM2.但是,如果您想調用 C++ 來訪問客戶端計算機上 Flash Player 無法提供的功能(文件系統訪問、UDP 或其他),那就沒有辦法了.

                  Not from the flash player, as it would very likely violate its security model. You can call C++ from the Tamarin VM, which for example mod-actionscript is doing. An option would be to pass your calls to an AS3-server, call some C++ functions there and send back the result. Another option is to cross-compile the C++ code to AVM2 using alchemy. But if you want to call C++ to access features on the client machine not available from the flash player (file system access, UDP or whatever), then there's no way.


                  好的,我想有以下選項:

                  edit:
                  Ok, I suppose there are the following options:

                  • 查看flash.accessibility 打包并僅使用 AS3 解決
                  • 創建一個后臺運行的C++守護進程,可以和flash through進行雙向通信
                    • 具有自定義協議的本地套接字(您將在守護進程中綁定一個端口,Flash 客戶端將連接到它)
                    • 一個LocalConnection.從 AS3 的角度來看,這看起來好一點,但需要在 C++ 方面進行一些黑客攻擊,因為您需要掌握連接并實現協議(指針 這里)
                    • have a look at the flash.accessibility package and solve it with AS3 only
                    • create a C++ daemon running in the background, which can have bidirectional communication with flash through
                      • a local socket (you'd bind a port in the daemon and the flash client would connect to it) with a custom protocol
                      • a LocalConnection. This looks a little better from the AS3 perspective, but requires a little hacking on the C++ side, since you need to get hold of the connection and implement the protocol (pointers here)

                      這篇關于c++ 和 actionscript 3 之間的通信的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

                      【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!

                  相關文檔推薦

                  In what ways do C++ exceptions slow down code when there are no exceptions thown?(當沒有異常時,C++ 異常會以何種方式減慢代碼速度?)
                  Why catch an exception as reference-to-const?(為什么要捕獲異常作為對 const 的引用?)
                  When and how should I use exception handling?(我應該何時以及如何使用異常處理?)
                  Scope of exception object in C++(C++中異常對象的范圍)
                  Catching exceptions from a constructor#39;s initializer list(從構造函數的初始化列表中捕獲異常)
                  Difference between C++03 throw() specifier C++11 noexcept(C++03 throw() 說明符 C++11 noexcept 之間的區別)

                        <small id='c5hJ7'></small><noframes id='c5hJ7'>

                          <i id='c5hJ7'><tr id='c5hJ7'><dt id='c5hJ7'><q id='c5hJ7'><span id='c5hJ7'><b id='c5hJ7'><form id='c5hJ7'><ins id='c5hJ7'></ins><ul id='c5hJ7'></ul><sub id='c5hJ7'></sub></form><legend id='c5hJ7'></legend><bdo id='c5hJ7'><pre id='c5hJ7'><center id='c5hJ7'></center></pre></bdo></b><th id='c5hJ7'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='c5hJ7'><tfoot id='c5hJ7'></tfoot><dl id='c5hJ7'><fieldset id='c5hJ7'></fieldset></dl></div>
                          <legend id='c5hJ7'><style id='c5hJ7'><dir id='c5hJ7'><q id='c5hJ7'></q></dir></style></legend>
                        • <tfoot id='c5hJ7'></tfoot>
                            <tbody id='c5hJ7'></tbody>
                          • <bdo id='c5hJ7'></bdo><ul id='c5hJ7'></ul>
                            主站蜘蛛池模板: 本道综合精品 | 久久久视频在线 | 欧美一级久久 | 成人做爰69片免费观看 | 国产日韩欧美一区 | 久久99精品久久久久久 | 精品一区二区久久 | 亚洲欧美视频一区二区 | 国产精品欧美一区二区三区不卡 | 国产精品一区2区 | 日韩精品在线视频免费观看 | 夜夜爽99久久国产综合精品女不卡 | 91看片网 | 男女午夜激情视频 | 国产精品久久久久久婷婷天堂 | 欧美日韩综合一区 | 久视频在线观看 | 欧美精品久久久久 | 精品在线 | 2021天天躁夜夜看 | 久久久噜噜噜久久中文字幕色伊伊 | 亚洲一区二区久久 | 亚洲精品影院 | 欧美成人一区二免费视频软件 | 国产色黄 | 伊人热久久 | 亚洲欧美一区二区三区情侣bbw | 成人h免费观看视频 | 日本三级视频 | 亚洲欧美bt| 日本久久网 | 欧美精品在线一区二区三区 | 中文字幕一区二区三区日韩精品 | 国产ts人妖一区二区三区 | 伊人久麻豆社区 | 色视频免费| 精品在线一区 | 亚洲三级国产 | 久久艹免费视频 | 国产精品成人一区二区 | 免费观看一级黄色录像 |