Is there a way to include a native executable into extension package?

Hello,
I need to call some native code from the CS extension using the NativeProcess API.
Is there any way to distribute a native executable file inside the extension package?
It looks like there is a way to include an "ordinary" file into a hybrid extension, however the file has to be installed into one of pre-defined locations (such as "$applicationsupport").
The problem is that in order to create a NativeProcess object in the extension code, I need to know the exact path of the executable, and I can't seem to find a way to find out where exactly the executable was placed by the extension installer.
Is there a way to install an executable into the extension folder (which I can get using CSXSInterface.getInstance().getSystemPath(APPLICATION))?
Thank you,
Anatoly

Is there a way to install an executable into the extension folder (which I can get using CSXSInterface.getInstance().getSystemPath(APPLICATION))?
Yep, the answer depends on how you're packaging your extension.
If you're using Extension Builder, you just need the executable to be automatically copied to the bin-debug folder during the build process. The simplest way to achieve this is to put the executable underneath the src/ folder. Another option is to make your own resources/ directory and add it to the project source path (see the section "Adding resource folders to the project source path" here: http://help.adobe.com/en_US/Flex/4.0/UsingFlashBuilder/WS6f97d7caa66ef6eb1e63e3d11b6c4ce74 9-7fd8.html). Once you've got it copying to the bin-debug folder you're set, you can launch or export as usual and your executable will end up in the extension folder.
If you're using ucf.jar, just make sure that your executable is in the extension folder you're packaging.
You shouldn't need to create a hybrid extension in order to have a CS extension that uses NativeProcess.

Similar Messages

  • Is there any way to include a Numbers table into a Pages document?

    I have a nice useful well-formatted table in a Numbers sheet and now I'd like to include it in a Pages document.
    Is there any way to do this?
    I don't care that the table remain "active" (that is, it doesn't have to allow me to change values and recalculate from within Pages) BUT I do care that the formatting and values remain exactly like I painstakingly set them in Numbers.
    Dave

    You can copy and paste the entire table. Select it so you get the little square handles at each corner and side, then copy. Switch to pages and paste.
    Every cell that's calculated from other cells in that table will remain calculable in Pages. Any cell that's calculated from other tables will just have its value.
    There is no need to create a table in Numbers just because you want calculations. Tables in Pages behave just the same way, but without the help and function building facilities.

  • By default, Teststand will not include the test step result in subsequence, is there any way to include these step result in report?

    By default, Teststand will not include the test step result in subsequence, is there any way to include these step results in report?
    Thanks
    Jacky

    Hi,
    If your subsequence is in a separate sequencefile, then check the properties of the sequencefile to make sure that the record has not been disabled.
    Regards
    Ray Farmer
    Regards
    Ray Farmer

  • Is there a way to include html link with applet?

    I am thinking of writing an applet that would be useful to others, which I would provide for free. In return I would want a link from the pages that use the applet. It is important that the link is search engine friendly, a pure href html link that will provide google page rank to me.
    Is there a way to include such a link with an applet so that it can't be removed?

    No. You can't force other sites to change their content.

  • Is there a way to include the sys.aud$ table in a full database dp export?

    I am doing an export using the following parfile information:
    userid=/
    directory=datapump_nightly_export
    dumpfile=test_expdp.dmp
    logfile=test_expdp.log
    full=y
    content=all
    However when I run this I do not see the sys.aud$ in the log file. I know I can do a seperate export to specifically get the sys.aud$ table but is there any way to include it in with my full export?
    Thanks in advance for any suggestion.

    here's more background infomation... I have some audits setup on my database for one of my users. Every quarter I have an automated job that runs that creates a usage/statics report for this person using data in aud$. at the end of the job I export the aud$ table and truncate it. However last quarter I found that there was a mistake in my report and my export did not run properly thus my audit data was gone. i also have full datapump exports that run daily but found that aud$ was not there. so that is why I thought I'd like to include sys.aud$ in the full datapump exports.
    i understand why other sys tables would be left out of a full export but aud$ data cannot be reproduced so to me it makes sense to include it in a full export.
    don't worry, we run our true backups using rman which is eventually how I got the aud$ data back by creating a copy of my database up until the time of the truncate. however this was quite time consuming.

  • Is there a way to include material in a DVD that some CAN copy?

    Is there a way to include material in a DVD that some CAN copy?
    I have a 30min project that I am going to burn that is copyrighted. But I’d like to add some stills or maybe a screensaver that the purchaser could copy from the disk and use.
    Thanks!

    Copyright is not the same thing as copy protect. Your material may very well be copyrighted, but it won't be copy protected if you are burning the DVD in your Superdrive. You must use a replication house to get copy protection. If you do this, you can include copyable stuff on the disc. I've seen commercial disks with PDF files, etc that you can freely use. I have no experience on how to do it though.
    But, don't fool yourself. There really is no copy protection anymore on DVDs. Anyone with an internet connection can figure out how to defeat it using software available free on the internet. All you can do is make it a hassle to copy it.

  • Many CD's will include a DVD disc as well containing music videos.  Is there a way to import these video files into iTunes as well as the music files?

    I have a number of music CD's that also include a DVD which has music videos or concert movies.  Is there a way to import these video files into iTunes as well?

    wjosten - thanks very much for the detailed instructions. I'll try this as soon as I get my replacement and it looks like you'll probably end up getting the green tick

  • Is there any way to include excluding one field

    hi all,
    is there any way to include a structure or type in another structure or type by excluding one field?
    regards
    hyma

    I think you are trying to include 2 structures but it is giving error that some fields are common
    you can overcome that like this , these are the 2 additions
    INCLUDE STRUCTURE ZTAB AS name1.
    INCLUDE STRUCTURE ZTAB AS name1 RENAMING WITH SUFFIX name2
    for more info check the help for INCLUDE STRUCTURE

  • Is there a way to include library items in a finder search?

    Is there a way to include library items in a finder search?

    Which Library? Spotlight has a search criteria option that allows you to add system files and folders, including invisible ones. Click on the Desktop, CMD+F. In the window that pops up, click on the Action button, and select Show Search Criteria. For more on those, see http://www.macworld.com/article/2016043/mac-101-smart-searching.html for starters.
    27" i7 iMac (Mid 2011) refurb, OS X Yo (10.10.1), Mavs, ML & SL, G4 450 MP w/10.5 & 9.2.2

  • I am setting up a new Time Capsule to replace another hard drive.  Is there any way to include the the Time Machine history from the old drive on the new Time Capsule?

    I am setting up a new Time Capsule to replace another hard drive.  Is there any way to include the the Time Machine history from the old drive on the new Time Capsule?

    Check item #18 of Time Machine FAQ, particularly the material in #3 of the "How to" section.
    By the way, you've been misled by poor field labeling on this forum into typing a large part of your message into the field intended for the subject.  In the future just type a short summary of your post into that field and type the whole message into the field below that.

  • Help! (please :) I have a 1GB iPod that's loaded with music for which my computer can no longer find the original files-due to external mass storage crash during recent move. Is there a way to import iPod music back into my iTunes library on computer???

    Help! (please I have a 1GB iPod that's loaded with music for which my computer can no longer find the original files-due to external mass storage crash during recent move. Is there a way to import iPod music back into my iTunes library on computer???

    Or If there is any purchased music then you can try to transfer purchases
    http://support.apple.com/kb/ht1848
    If you're in the US you can reload purchased music
    http://support.apple.com/kb/ht2519

  • HT1918 Is there a way to consolidate multiple Apple IDs into one if they are all issued to the same persons(s)?

    Is there a way to consolidate multiple Apple IDs into one if they are all issued to the same persons(s)?

    No. Unfortunately, you can't combine Apple IDs togetehr, even if you own them all.

  • Is there a way to make a long clip into a short clip without compressing it any further?

    Is there a way to make a long clip into a short clip without compressing it any further?
    I went through all my old formats (VHS, hi8, miniDV, etc) and captured them. They end up as .mov files. Some of the longer 2hr ones are about 28GB.
    If I am making a new project and I want to edit in short clips from several of these longer files, is there a way to save a short clip from an existing file without compressing it any further?
    In other words, lets say I have 10 2hr files, but I know I only want 1 minute from each. Is there a way to select the good 1 minute from each .mov file that I want to use and a version of this 1 minute from each in the folder I am working on the project in, without compressing them??? I like to keep all of the content I am working with on a project in its own folder in case the project needs to be moved from one hard drive to the next while I am working on it. I would hate to have to make a folder that is 280GB or more when I only need a minute from each larger file.
    I hope I have asked this in a way that is understandable. Maybe there is a term for what I want to do, that I don't know yet that has its own help section too.   Thanks for any assistance

    Thanks Jon - That's kind of where I started, but the part of that I need help with on is the second to last step.
    "Export using a codec that matches the source material. "
    The codec they were captured in is .mov at DV quality, but then after picking .mov, there are so many other options to choose from as far as compression goes from sound quality and settings, to how many passes, etc. I just want the new clip to be of the same quality as the original clip. It looks so complicated and its not clear to me what options to pick to match the original.
    Is there a setting or preference that helps you to match the compression settings of the original clip? Or is there  a way to detect the settings of the original clip so I can repeat that in the shortened clip??

  • Is there a way to import large XML files into HANA efficiently are their any data services provided to do this?

    1. Is there a way to import large XML files into HANA efficiently?
    2. Will it process it node by node or the entire file at a time?
    3. Are there any data services provided to do this?
    This for a project use case i also have an requirement to process bulk XML files, suggest me to accomplish this task

    Hi Patrick,
         I am addressing the similar issue. "Getting data from huge XMLs into Hana."
    Using Odata services can we handle huge data (i.e create schema/load into Hana) On-the-fly ?
    In my scenario,
    I get a folder of different complex XML files which are to be loaded into Hana database.
    Then I gotta transform & cleanse the data.
    Can I use oData services to transform and cleanse the data ?
    If so, how can I create oData services dynamically ?
    Any help is highly appreciated.
    Thank you.
    Regards,
    Alekhya

  • Is there a way to retrieve my contacts back into my 3G iPhone?

    Is there a way to retrieve my contacts back into my 3G iPhone?
    I was trying to save my contacts by importing my contacts to my sim card by going into settings, mail-contacts and then hit the Import SIM Contacts.
    It wiped out ALL of my contacts and I'm freaking out!!
    Can anyone please help?
    Ps. My contacts was the ONLY data NOT sync'd to my iTunes! =(

    You can import TO a SIM. To import, if you look at the button in settings says Import SIM Contacts. That means it is importing, or moving the contacts FROM the SIM to the iPhone. Importing means to take something from the area you are selecting and moving it to the current area, in other words, as others have told you, you imported what was ON the SIM card and since the iPhone does not store ANY information on the SIM, you imported NOTHING to a place that had something.
    The way you save and backup contacts on an iPhone is to sync them through iTunes to a supported application on a computer such as Address Book on a Mac, Outlook or Windows Contacts on a Windows machine. If you did not do that prior to the Import attempt, then you will not be able to recover them.

Maybe you are looking for

  • Sending a HTML web page in email question please.

    Sorry, the "Mail and address" section of the group is down. A long time ago using windoze, I use to be able to send a entire embedded HTML Web page, not a link, in my emails so the reader does not have to click a link but can see the page right in th

  • Third-party scenario in APO

    Hi expert, Has some of you manage a third-party scenario in APO? We have some products that are direcly delivered using a third-party sales order from our vendor, while the same product for another customer is delivered from our stock in our distribu

  • Where can I order a cyrillic liser engraving for my keyboard on Macbook Pro 15" ?

    Hi everybody, sorry for the wrong topic but can somebody tell me where can I order a cyrillic liser engraving for my keyboard on Macbook Pro 15" in Wisconsin or New York?

  • How can I ensure my iPhone calendar is in sync with my Google calendar?

    I sync my office Lotus notes desktop calendar with Google calendar and generally the two are in sync. However I find my calendar on the iPhone which I sync with the Google calendar through Exchange (along with mail and contacts) is simply out of sync

  • Creating several shopping carts through interfaces

    Hello all, I have the following requeriment and I want to know if this is possible. The requeriment is to have an interface that calls the creation of a shopping cart in SRM, so many times as data will be inside a file. The interface will be in anoth