是否有可能调用从Adobe AIR本机DLL? [英] Is it possible to call a native DLL from Adobe AIR?

查看:386
本文介绍了是否有可能调用从Adobe AIR本机DLL?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

显然,这是<一个href="http://stackoverflow.com/questions/5032035/is-it-possible-to-start-a-native-application-from-adobe-air">possible调用从AIR使用本机的可执行文件<一个href="http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/desktop/NativeProcess.html"相对=nofollow> NativeProcessInfo 。但是,可以将AIR应用程序直接调用DLL?

Apparently it is possible to call a native executable from AIR using NativeProcessInfo. But can an AIR app call a DLL directly?

一种可能是包装的DLL是某种形式的代理EXE的,但我想避免这种情况,如果可能的话。

One possibility is to wrap the DLL is some kind of proxy EXE, but I'd like to avoid that, if possible.

推荐答案

通过调用DLL,你必须意味着检索指针一些DLL函数并调用它。但如何本地code应该在AIR应用程序中执行? AIR可以在单独的进程运行的可执行文件,但是应该与本地code它做的DLL?你一定需要代理的exe做到这一点,至少要提供环境功能调用。

By "call a DLL" you must be meaning retrieve pointer to some DLL function and invoke it. But how native code should execute in AIR application? AIR can run executables in separate processes, but what should it do with native code from DLL? You definitely need proxy exe to do that, at least to provide environment for function calls.

这篇关于是否有可能调用从Adobe AIR本机DLL?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆