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导入actionscript?
Is this the only way to achieve my goal?
这是实现目标的唯一途径吗?
Thanks!
1 个解决方案
#1
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应用程序中使用这些结果。
#1
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应用程序中使用这些结果。