How to pass ByteArray to C code in alchemy?

余生长醉 提交于 2019-11-27 08:03:31

问题


I want to pass a byte array object from flex code to C code.How to do that?


回答1:


Passing a ByteArray from Flex to C++ http://nexus.zteo.com/blog/2008/12/22/adobe-alchemy-passing-a-bytearray-from-flex-to-c/




回答2:


Multiple approaches outlined here: http://blog.debit.nl/2009/03/using-bytearrays-in-actionscript-and-alchemy/




回答3:


You can use AMF to pass an ActionScript ByteArray. So you're set on the Actionscript side. On the server side, there are slim pickings for AMF server implementations in C++. I use BlazeDS for Java, but the only one I can seem to find for C++ is AMFPP.



来源:https://stackoverflow.com/questions/4891641/how-to-pass-bytearray-to-c-code-in-alchemy

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!