Hi All, I am trying to work with "Adobe Native Extensions" -- one of the newest features released in Adobe Flash Builder 4.5. What I am trying to achieve is the following: -- Communicate between Adobe AIR and a native C++ application on windows 7 with the help of Adobe Native extensions !! (Of course, we can do this today with NativeProcess APIs, but ANE is much more powerful)
I followed the steps mentioned in the following article: http://thingsico.de/blog/tag/native-extensions/ 1. created the sample dll using cygwin to compile the C++ code (integrated the FlashRuntimeExtensions.h and FlashRuntimeExtensions.lib during compilation) 2. built the sampleANE using the following command line. "C:\Program Files (x86)\Adobe\Adobe Flash Builder 4.5\sdks\Air3.0_flex4.5.1\bin\adt" -package -storetype pkcs12 -keystore "certs\vlabCert.p12" -target ane "TestSampleANE.ane" "bin\extension.xml" -swc "bin\SampleAne.swc" -tsa none -platform Windows-x86 -C "bin" . I faced a small problem here w.r.t. timestamp, which I navigated by addeing "-tsa none" to the above command. I was able to successfully generate the HelloAne.ane. 3. I created a new sample Flex Project, and included the TestSampleAne.ane and SampleAne.swc in the lib files of the project. I was able to successfully access the "SampleAne" object, as well its public functions in the ActionScript code, and could successfully compile the application. However, when I try to launch the application, it gives me the following error: *Process terminated without establishing connection to debugger.* * * *Not supported native extensions profile* * * *Launch command details: "C:\Program Files (x86)\Adobe\Adobe Flash Builder 4.5\sdks\Air3.0_flex4.5.1\bin\adl.exe" -runtime "C:\Program Files (x86)\Adobe\Adobe Flash Builder 4.5\sdks\Air3.0_flex4.5.1\runtimes\air\win" E:\ANE\SampleAirProject\bin-debug\SampleAirProject-app.xml E:\ANE\SampleAirProject\bin-debug * At first, I thought that the problem is due to the fact that I was using flash builder 4.5, and not 4.5.1 (which is what Adobe recommends for working with ANE). So, I downloaded the patch and upgraded it. I even checked that I am working with the AIR 3.0 version. But even then the problem remains the same. I could not find any solution to the above error on net, and have been stuck on this for past 2 days. Any help in this regard would be really great. If required, I can send across the source files. Thanks, Kapil -- You received this message because you are subscribed to the Google Groups "Flex India Community" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/flex_india?hl=en.

