久久久久久久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 之間的通信的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學(xué)習(xí)吧!

                  問題描述

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

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

                  更新:我現(xiàn)在主要希望它用于桌面應(yīng)用程序,即 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 調(diào)用 C++,例如 mod-actionscript 正在執(zhí)行.一種選擇是將您的調(diào)用傳遞到 AS3 服務(wù)器,在那里調(diào)用一些 C++ 函數(shù)并將結(jié)果發(fā)回.另一種選擇是使用 alchemy 將 C++ 代碼交叉編譯到 AVM2.但是,如果您想調(diào)用 C++ 來訪問客戶端計算機上 Flash Player 無法提供的功能(文件系統(tǒng)訪問、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 解決
                  • 創(chuàng)建一個后臺運行的C++守護(hù)進(jìn)程,可以和flash through進(jìn)行雙向通信
                    • 具有自定義協(xié)議的本地套接字(您將在守護(hù)進(jìn)程中綁定一個端口,F(xiàn)lash 客戶端將連接到它)
                    • 一個LocalConnection.從 AS3 的角度來看,這看起來好一點,但需要在 C++ 方面進(jìn)行一些黑客攻擊,因為您需要掌握連接并實現(xiàn)協(xié)議(指針 這里)
                    • 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)

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

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

                  相關(guān)文檔推薦

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

                        <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>
                            主站蜘蛛池模板: 日本高清中文字幕 | 欧美国产在线观看 | 一级片av| 日韩国产在线 | 成人免费网站黄 | 深夜福利影院 | 午夜黄视频 | 日日夜夜艹| 亚洲国产第一页 | 免费在线成人 | 久久久国产精品人人片 | 一区二区三区四区在线播放 | 亚洲精品www久久久久久广东 | 91丨九色丨蝌蚪丨丝袜 | 久久久久毛片 | 国产黄色片视频 | 精品亚洲一区二区三区 | 中文字幕在线观看网址 | 国产午夜免费 | 成人伊人网 | 黄色片视频免费 | 欧美老少妇 | 婷婷综合网 | 国产视频导航 | 日日干av| 久草网在线 | 午夜在线免费视频 | 完全免费av | 亚洲伦理在线观看 | www黄色片 | 91看片看淫黄大片 | 精品一区二区三区在线观看 | 国产黄色小说 | 国产精品乱码一区二区视频 | 九九热在线视频观看 | 欧美视频一区二区 | 在线观看日韩精品 | 亚洲精品911 | 蜜臀久久99精品久久久久宅男 | 久久999 | 成人免费在线播放 |