Pages

Saturday, April 24, 2010

How access dll from flex

As far as i know there is no direct method through which you can
access dll files from flex.How ever one thing you can do is to
create webservice in asp .net and call that webservice from flex program.
You can do the same with webservice, httpservice, Remoting (using remote objects)


The best example i can find in adobes site here
http://www.adobe.com/devnet/flex/articles/communicating_flex_dotnet.html
communicating_flex_dotnet_06.html

you can use fluorinefx http://www.fluorinefx.com/ for flex .net remoting
in addition you can use weborg

http://www.themidnightcoders.com
example :

http://www.adobe.com/devnet/flex/articles/communicating_flex_dotnet_06.html
httpservice (For simple data transmission)
webservice (Datain Xml Format)
Remoting (Pass objects)

Another method through which an swf can call a dll is through External interfaces.
You can load the swf into your .net program. Then using external interface swf can communicate with c#.
I found a good Example here

Here is an another method using ActiveX component by srinivas

here

ttp://livedocs.adobe.com/flex/3/html/help.html?content=19_External_Interface_10.html

No comments:

Post a Comment