简体   繁体   English

如何将Interop DLL导入到ActionScript中

[英]How can I import an interop dll into actionscript

Making an adobe flex ui in which data that is calculated must use proprietary functions from a dll. 制作要在其中计算数据的Adobe Flex ui必须使用dll中的专有函数。

How can I import this dll into actionscript? 如何将该dll导入到动作脚本中?

Is this the only way to achieve my goal? 这是实现我的目标的唯一方法吗?

Thanks! 谢谢!

Since flex apps run on the flash runtime, you can't include anything that can't be run by the flash runtime. 由于Flex应用程序在Flash运行时上运行,因此您不能包含Flash运行时无法运行的任何内容。

What you could do is create a web service that can call the functions in the DLL and return the results in XML which you could consume from your flex app. 您可以做的是创建一个Web服务,该服务可以调用DLL中的函数并以XML返回结果,您可以从flex应用中使用该结果。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM