Communication between AIR (Flex) and C ++ applications

I need to be able to communicate between two applications that are on the same computer. One uses Flex and the other uses C ++. I would like to be able to call functions and pass arguments to each other. What is the best way to communicate between them? I was thinking about using sockets.

+3
source share
2 answers

Now yes, you will need to use sockets.

AIR 2.0 will provide access to its own processes, but this will require a built-in (for OS) installer. Additional information: http://www.mikechambers.com/blog/2009/09/22/fotb-slides-advanced-desktop-development-with-adobe-air/

+3
source

Like AIR 1.x, Mike Chambers has published the CommandProxy sample library , which does the trick. It provides code for AS3 and .NET, which can be easily ported to C ++ if you have a decent XML parser.

, compnent XML- , , , / . , AS3 .NET TCP/IP, XML- XML, . , .

, ++ AMF ( ActionScript), AS3 , "".

0

Source: https://habr.com/ru/post/1718917/


All Articles