Hi,
I need to connect from AIR application to some computational libraries (DLL on Windows or SO on Unix)
which are originally written in C (not .NET), we have an API, not the source code.
Is it possible to do via Alchemy ?
Can I write a little program in C++ (which will be calling that DLL library)
and compile it with Alchemy tools?to talk to AIR app ?
Will it allow passing objects between AIR and C++ ?
If not, what other options exist to implement that AIR-to-DLL ?
TIA,
Oleg.
AIR to DLLAll binaries used in alchemy need to be compiled for the alchemy virtual machine, which is a separate platform from windows.?If you have DLLs, these are compiled for windows, and you cannot link to them with alchemy code.
You could try to decompile the dll into C code and recompile it with alchemy.?There are tools which exist to decompile binaries into C code.?However, you may find it easier to write some kind of adaptor application -outside- of alchemy, which links to the DLL, and have the adaptor talk with your flash application via e.g. a socket.
No comments:
Post a Comment