Very strange bug with AIR and native process (Windows 7, EXE)

Hello to everyone!
The situation is:
I've made an AIR Application, inside of that is running a native process - EXE file.
I'm using Flash CC as IDE and tried to use compile that as EXE with AIR 2.6 and 3.6 - results are same.
So I've insert inside a checking if Native Process is supported or not and the Native process is supported all the time.
When I've just installed the application and run it - the very first attempt is good - everything is working as a must: internal EXE is called by my Application with necessary parameters as many time as I'm need.
However if I'll close the App and then will run it again - internal EXE is not starting at all, doesn't depends on number of attempts to re-start of the App.
So only way is to uninstall, install it back and then you'll be one more session of successful internal EXE-requests, till the next re-start of the App.
That's it.
I've tried to "google it" but unsuccessful. Probably the bug is very rare.
Help me please?
Update: at compilation with Flash CC IDE it's working all the time with no any issues.
Update-2: when I'm running installator-EXE, there is going a notification "Same version is installed, etc." and then selected "Run Now" - there is also working with no problems.

Well, I've found the solution and answer by myself and here is it please:
In case with same situation as above you need to add just one line in your AS3-code
nativeProcessStartupInfo.workingDirectory = File.applicationDirectory;
And you will be happy so much

Similar Messages

  • Problem with AIR 2 Native Process?

    I had installed Adobe AIR 1 before and Flex Builder 3.0 (licensed) on a Windows Vista machine. Now i have installed AIR 2 framework (without uninstalling AIR 1, assuming that it will update that). I m trying to write a small code to use AIR 2 Native Process functionality but AIR is not recognizing Native Process classes/objects. Even i have tried a sample code from Adobe Developers Center article http://www.adobe.com/devnet/air/flex/quickstart/interacting_with_native_process.html but no way.
    Please let me know wat is wrong? How i can use AIR 2 new features? How to upgrade to AIR 2?
    Looking forward for an earliest response.
    Thanks
    Asad Ijaz

    Thanks romil!
    I have installed AIR 2 but without uninstalling AIR 1. Should i uninstall AIR 1 before i install AIR 2?
    Regard,
    Asad Ijaz

  • Very strange bug with my Apple Wired Keyboard

    I have a very strange issue with my Apple Keyboard.
    Sometimes my Apple Keyboard stopped working at my MacBook Pro Retina 15 inch late 2013. I doesn't give any input at all in all the usb ports. The strange thing is when I connect the Apple Keyboard extension cable it worked again and I can disconnect the extension cable and plug it back in with only the cable from the keyboard itself and it works as well. This happened every 2 to 3 months to me. It only happens when my MacBook is in sleep mode and I wake it up.
    Can somebody please help me. What when I lose the Apple Extension cable?

    Yes, a USB extension cable with a male and female end will work.
    example: Amazon.com: Belkin USB Extension Cable (10-Feet): Electronics

  • Very strange bug with compareTo: returning incorrect results

    Hello everyone! I have used the method compareTo many times to maintain my database project's entries. However recently I have discovered a bug, in which:
    a and b both being Storage type objects:
    private static class Storage {
    object data
    int nextData //an array stores the Storage objects
    int previousData //this uses an integer to locate previous in array
    Problem:
    ((Comparable)(a.data)).compareTo((Comparable)(b.data)) returns a 3, when a.data is clearly 5, and b.data is clearly 20.
    This is very strange, as the compareTo should return a -1 instead of a positive number. Is this a known bug with the compareTo method? I have been using it reliably for many programs but this is the first time it ever occurs to me.

    Problem:
    ((Comparable)(a.data)).compareTo((Comparable)(b.data))
    returns a 3, when a.data is clearly 5, and b.data is
    clearly 20.
    This is very strange, as the compareTo should return a
    -1 instead of a positive number. Is this a known bug
    with the compareTo method? I have been using it
    reliably for many programs but this is the first time
    it ever occurs to me.Not really... comparing Strings "5" to "20"
    is really the same as comparing "5" to "2"
    being the first character of the string, difference
    being, surprise, surprise = 3.
    If you want the Strings to be comparable that way you should left-fill them with spaces or zeros.
    Or, better still, override compareTo and make your Storage implement Comparable instead of all that casting of the data objects.

  • Two very STRANGE problems with JWindow and JTextField

    I am having some trouble in the program that I am making. It is a Swing based GUI.
    I have a JWindow with a JPanel in it that holds JTextFields and JLabels.
    problem1----I can't see a caret in any of the textfields but I can still enter text.
    problem2----If I control + tab to another window, and control + tab to get back to the JWindow then I can see a caret, but the caret will not change if I click on another textfield and also I can't move to another textfield to enter text. If i do another control tab, then the textfield that i tried to switch to will have focus, but there is now two carets...the first one is where I was but that field does not have focus. I can do this control-tab for as many textfields as I need to fill, but it obviously is not practical.
    I am using a call to super(Frame frame) when calling my JWindow but that didn't seem to fix it.
    Any help would be great!!!!! thanks john

    try checking out this thread :
    http://forum.java.sun.com/thread.jsp?forum=57&thread=153344
    sounds like your problem, kinda. it looks more like a repaint issue, since u get two carets at the same time - as if the screen isn't refreshing enough (u could give it some Spearmint POLO :)

  • Very strange behavior with to_date and format 'yddd' after 31/12/2009

    Hi, I have the following PL/SQL code which retrieve a date from a production batch code as fallow:
    DECLARE
    dtmDateFabric DATE;
    BEGIN
    -- on teste si l'on peut reconstituer la date fabric à partir du code lot
    dtmDateFabric := TO_DATE ('9348', 'yddd');
    DBMS_OUTPUT.put_line ('dtmdatefabric ' || dtmDateFabric);
    END;
    batch code is constitued like this: YDDD year of production and day number in year.
    This code was perfectly working before 2010 and it used to return December 14, 2009.
    And now the same code returns December 14, 2019.
    And I can't use 'rddd' as format.
    Any idea to resolve this issue ?
    Thank's for help.
    Olivier

    It's not strange at all, we are in 2010 now, so if don't specify the decade, century and millennium it takes the current: 2 (millennium) 0(century) 1(decade) and your year becomes 2019...
    You have to add a byte to your year format to specify the decade:
    SQL> DECLARE
      2  dtmDateFabric DATE;
      3  BEGIN
      4  -- on teste si l'on peut reconstituer la date fabric à partir du code lot
      5  dtmDateFabric := TO_DATE ('09348', 'yyddd');
      6  DBMS_OUTPUT.put_line ('dtmdatefabric ' || dtmDateFabric);
      7  END;
      8  /
    dtmdatefabric 14-12-2009 00:00:00
    Procedura PL/SQL completata correttamente.And you'll be ok untill 2099...
    Max
    [My Italian Oracle blog|http://oracleitalia.wordpress.com/2010/01/07/creare-documenti-office-da-plsql/]
    Edited by: Massimo Ruocchio on Jan 8, 2010 4:40 PM
    Added explaination

  • Very strange bug: random keyboard disposition

    Hi,
    I just experimented a very strange bug. I have Arch installed with the XFCE desktop and Firefox3b05 from unstable. I was reading my favourite austrian newspaper online: http://derstandard.at. There's the possibility to post messages under the articles, so I clicked on "Post", and suddenly, within the posting window... my keyboard disposition went crazy. Instead of "a", I had a greek omega, instead of "s", I had a euro symbol, and so on. And more: all the other apps were suddenly affected too. I opened mousepad, same story.
    I restarted X, went to the same site... and had the same experience. But after the third time, things seem to have returned to normality.
    Anybody ever experienced something similar? What could this be related to? X going crazy?

    Well, viewing the site is not the problem. You'd have to get an account and actually try posting a message on their message board. That's where the havoc begins.
    JavaScript from hell, maybe...

  • Hey, i have very strange prob with my iphone 5(latest version/updated), after resetting it, so it doesn't connect to my laptop, even it doesn't charge too. it does charge from wall charger i try all the possible methods but still i am facing the prob

    Hey, i have very strange prob with my iphone 5(latest version/updated), after resetting it, so it doesn't connect to my laptop, even it doesn't charge too. it does charge from wall charger i try all the possible methods but still i am facing the prob any fix/solution for it.. Helppppp!!!!!!!!!!!!!!!!!!!!!!!! As soon as possible, it will be gratefulness,
                                Thnksssssss....

    So you are saying that you followed all of the steps in the support document for problems with connection, including removing and reinstalling iTunes? You do not say what you have tried, so it is hard to make recommendations. If this is the case, then you have tried resolving driver issues? What if you go to Device Manager and look for the iPhone. You should be able to click on it and see about drivers. You can update/reinstall the device driver.

  • I have very strange problem with Iphone 3gs. Whenever it gets little hot or exposed to 30 degree temperature it losses signals (No service). Whenever it is cooled down the service is back. Please help!

    I have very strange problem with iphone 3gs. Whenever it gets little hot or exposed to 30 degree or above temperature it losses signals (No service). Whenever it is cooled down the service is back. Whenever I am using Skype or playing game for a while it losses carrier signals and wifi. When it is cooled down afer shutting down the carrier signals and wifi are back. It is for sure problem is with heating, but 30 degree tempeature in Oman is normal and some time it goes upto 50 degrees. I have noticed this has started after I started using substandard charger as I lost my original charger of the phone. Please help!! Thanx.

    The specifications define an operating range up to 35 degrees.

  • TS3988 I am in the midst of setting up my new iPad Air, and the process seems to be stuck on "Updating iCloud settings..."  What is a reasonable amount of time for this step to take?

    I am in the midst of setting up my new iPad Air, and the process seems to be stuck on "Updating iCloud settings..."  What is a reasonable time for this step to take?

    Shouldn't take more than a few seconds to a minute.  If it's stuck, you might want to give Apple support a call to see if they are experiencing unreported server issues.  Since your device is new, you are within the 90-day free call support period.  You can set up the call here: http://www.apple.com/support/icloud/contact/.  You will need your serial number, which is on the box and (I believe) the back of your iPad.

  • Creating an messagebox in forms with look and feel of Windows

    I wanted to create an message box in my form with look and feel of windows.For this i used the package ORA.FFI...but i am getting an error....and i am not bale to clear it...the code is as follows
    Package Specification: -
    PACKAGE messagebox IS
    /*Function message_box calls windows MessageBox function. */
    FUNCTION message_box(plptext IN VARCHAR2,plpcaption IN VARCHAR2)
    RETURN PLS_INTEGER;
    END;
    Package body : -
    PACKAGE BODY messagebox IS
    lh_window ORA_FFI.LIBHANDLETYPE;
    fh_mb ORA_FFI.FUNCHANDLETYPE;
    lh_forms ora_ffi.libHandleType;
    /* Function i_mbx acts as the interface to the Messagebox
    function in windows
    FUNCTION i_mbx(funchandle IN ORA_FFI.FUNCHANDLETYPE,
    plptext IN OUT VARCHAR2,
    plpcaption IN OUT VARCHAR2)
    RETURN PLS_INTEGER;
    PRAGMA interface(C,i_mbx,11265);
    FUNCTION message_box(plptext IN VARCHAR2,
    plpcaption IN VARCHAR2)
    RETURN PLS_INTEGER IS
    ltext VARCHAR2(500) := plptext;
    lcaption VARCHAR2(500) := plpcaption;
    BEGIN
    RETURN(i_mbx(fh_mb,ltext,lcaption));
    END;
    BEGIN
    lh_window := ORA_FFI.LOAD_LIBRARY('d:\','DclMsgBox.dll');
    fh_mb := ORA_FFI.REGISTER_FUNCTION(lh_window,'DclMsgBox',ORA_FFI.C_STD);
    ORA_FFI.REGISTER_RETURN(fh_mb,ORA_FFI.C_CHAR_PTR);
    ORA_FFI.REGISTER_RETURN(fh_mb,ORA_FFI.C_CHAR_PTR);
    --ORA_FFI.REGISTER_RETURN(fh_mb,ORA_FFI.C_INT);
    END;
    Now when i call this function in When-New-Form-Instance as
    declare
    p number;
    begin
    p:=messagebox.message_box('hello','test');
    end;
    I had created an dll for message box and placed the .dll and .lib files in the d:\ of my system.
    I get an error message when i run the app. The error is:
    The instruction at "0x005a3b24" referenced memory at "0x00000006".The memory could not be "read".
    Can anybody please tell me where have i gone wrong....

    Colin Martin wrote:
    I agree the leather look is horrible. It's just not a reflection of the cutting edge modern design we have all got to love over the years. If it has to be there at least give us a choice of looks.
    There is a word for this (not that one) - skeuomorph. Wikipedia defines this as 'a derivative object that retains ornamental design cues to a structure that was necessary in the original. Skeuomorphs may be deliberately employed to make the new look comfortably old and familiar'.
    Common examples are found in audio software with pictures of actual knobs that you turn, as here; and the leather-bound tear-off look of calendar and contacts on the iPad is the same principle: the intention is to make it familiar and friendly to people who might otherwise be frightened off by a modern look because they are not used to modern technology. The whole concept and look of the iOS operating system is being brought into use on Macs for the same reason, to encourage non-tech-savvy people not to be frightened of them.
    This is all very well in its way, but in these two particular cases the result is unfortunate, particularly for experienced users, and it really ought to be possible to choose between the looks (as you can with the Mail layouts), even if the skeuomorph is the default.

  • Premiere Pro CS5.5 -very strange issue with the color tones and Preview-

    I deal with a very strange and not usual problem in Premiere Pro CS5.5 (also the version CS5). What I try to do is just a simple color correction. The problem occurs when I try to use Three Way Color Corrector but it happens with Fast Color Corrector also.
    When applying the Three-Way Color Correction and without changing anything else (just applying), can be seen in the preview of the soft how sudden changes in color tones. For example, the gray tone becomes a little more green, but also can be seen very easy a change in the other color tones too. In fact even RGB Parade show the same thing. This is very, very strange and unacceptable and saw that it happens when trying to use Colorista II too.
    I tried the same thing in Sony Vegas Pro 11 and I downloaded the trial version of Edius 6 to convince me if the same thing happens. Not! In Sony Vegas and Edius everything is working correctly, I have not experienced these problems in the preview's of this 2 others softs.
    This issue is very annoying because every possible color correction is based on what we see in the preview and if in this preview the tones are seen altered realize that can not make a decent color correction. So what happens here?!? I uploaded a small video demonstration to see very clearly about what I'm talking. You can see in the next link: http://vimeo.com/35317616

    Yes Jim, you're right. No changes in the scopes when one just apply RGB Curves, Fast Color Corrector, RGB Color Corrector  or the Three way Color Corrector (last three thanks to the new update 6.03). I already wrote that Adobe team has been able to fix this bug for some of the tools/effects.
    But Brightness&Contrast? Change Color? Color Balance? Levels? MBLooks? Twixtor? Colorista II? Does it seem normally that all scopes or just one of them jump when you just apply one of these effects/tools? Not to say that in some situations even the tones change (especially in shadows&midtones).
    You say this is something "very minimal". I say it is not so. I don't find normally to make a very detalied CC with Three way Color Corrector and then when applying Colorista/MBLooks, for example, the scopes jump and inclusively some tones may be influenced. And I left clear examples in this topic where you can see that this is possible. I don't know if this is "very minimal" or not, but is really so impossible to edit in Premiere without this "very minimal" issue?!? How can it be possible in other softs (Edius, Media Composer, Vegas Pro) and in Premiere not?!?
    One more thing: many of us use intermediate codecs in the editing process. Do you find normally that a AVCHD video have the lumninance at approximately 110IRE, to export it directly to Cineform and then import it in Premiere, and the waveform shows the luminance at 100IRE?!? How is this possible?!? So the AVCHD video have a 110IRE luminance, you convert this video to Cineform without changing anything, and then this Cineform video have the luminance at 100IRE?!? And anyone can verify this example.
    So, how can one trust in this soft?!?

  • 10.4.10 update and very strange problem with Mac Mini

    Dear All,
    I have just updated my Mac Mini Intel and I am having a strange problem.
    My Mac Mini has problems booting up. Sometimes I get through the login screen as normal but my wallpaper shows and there are no desktop icons, no dock, no top of screen finder menu bar. Some other times I get stuck in the progress bar of the booting up.
    I tried to run utilities from install disk and there were no problems detected.
    The VERY STRANGE thing is that several times now as I put my fingertip onto the power button laying it on the button but not pressing it yet (because I would like to shut down the system), the system kicks in and becomes unfrozen!!!
    Someone in the 123macmini.com forum says that this problem is related to the airport receiver which is near the power button.
    What do you think about it???
    MacBook and MacMini   Mac OS X (10.4.10)  

    ok, I have found a kind of fix for the problem, although may run a hardware test to check something!.
    I unplugged all USB and Firewire devices, I turned off Bluetooth and Airport, reinstalled the 10.4.10 combo update, when it restarted the starting mac osx screen took barely a second or 2 to load (my comment above is becuase from when I first got it on Sunday I noticed it was slow to boot up, also noticed that the screen resoulution I have set does not kick in until I log on, although this may be becuase this mac mini is an intel one). The computer booted up very quickly and I tuend on bluetooth and airport with no issues and plugged all the usb and fireware devices back in. I again turned the airport off and restarted and again it booted up very quickly logged on and swithced the airport back on. I decided to reboot with the sirport on and it got stuck at the end of the os x starting up screen, I waited a few mins switched it off and on again and it booted up fine although slower. I dont mind turning the airport off when I power down as the mac usually stays on anyway. I assume Apple will release a fix for this as a lot of people seem to have the problem so think I will stay put with this for the time being. It was taking a several goes to get to the login screen before but usually got there every few boots.

  • Strange bug with CC panel and OS X Spaces

    I seem to have a strange bug where the CC panel opens each time I switch spaces in OS X (click on the GIF animation below).  Anyone else have this problem?

    Hi Lee ,
    This has been already notified to the engineering team.
    http://forums.adobe.com/message/5421355#5421355
    Thanks,
    Manish

  • Strange issue with imap and a blank empty sent messages folder

    So here is a weird one. I got a new computer last week, Mac mini core duo. Set everything up, synced my .Mac and it set up mail. I have been using mail, i try to view Sent Messages for one of my IMAP accounts which should have 10,200 messsages in it. I see nothing. On rebuild mailbox it goes blank. Some messages I send are stored until i rebuild mailbox and it again is empty. On my other Macs (powerbook 12" and dual G4) I am still able to view and manipulate this same accounts Sent Messages. One webmail everything still works as well. While trying to copy old messages down to the Powerbook to archive them I noticed that it was very slow, and messages which were not cached already caused the Copy to fail. I am using Courier IMAP with Maildirs and Postfix on FreeBSD as a server.

    my IMAP server uses INBOX as its root.. hence that folder only contains...
    INBOX.imapmbox
    INBOX
    However one level down in INBOX I have...
    DeSmit.imapmbox
    HealthCareSource HR.imapmbox
    SimTech.imapmbox
    Lange International.imapmbox
    Sandhill Photography.imapmbox
    Sales People.imapmbox
    Hosting.imapmbox
    Marwan.imapmbox
    Lucidics.imapmbox
    Jeorgea Beck.imapmbox
    Web Marketing.imapmbox
    Sent.imapmbox
    SEBA.imapmbox
    Merchant Accounts.imapmbox
    The Hired Pens.imapmbox
    Kuhl Therapy.imapmbox
    Keen Films.imapmbox
    PeopleVision.imapmbox
    Competition.imapmbox
    East Street Woodworking.imapmbox
    Cambium Learning.imapmbox
    Legal.imapmbox
    LFCG.imapmbox
    Mailing Lists.imapmbox
    Drafts.imapmbox
    Ipswitch.imapmbox
    Prism Scienceworks.imapmbox
    Printers.imapmbox
    Mindspark7.imapmbox
    Air Media.imapmbox
    Demios.imapmbox
    Cabem.imapmbox
    LexiPixel.imapmbox
    Apple.imapmbox
    Regent Theatre.imapmbox
    Proun Design.imapmbox
    Prospects.imapmbox
    Goodwin PR.imapmbox
    Xplana.imapmbox
    Competitive Analysis.imapmbox
    Banimon.imapmbox
    Zaid.imapmbox
    Stay In Touch.imapmbox
    Junk.imapmbox
    UI Research.imapmbox
    Faxes.imapmbox
    Dewey Nichols.imapmbox
    StrideRite.imapmbox
    Future Works.imapmbox
    Franklin Cafe.imapmbox
    Epsilon.imapmbox
    CitySoft.imapmbox
    Bearak.imapmbox
    Pridgeon Design.imapmbox
    BDS.imapmbox
    Highland MBP.imapmbox
    Create TV.imapmbox
    Crystal Clean.imapmbox
    Longs Jewelers.imapmbox
    Lollipop.imapmbox
    AFT.imapmbox
    Wholen.imapmbox
    Peppercoin.imapmbox
    RocketShop.imapmbox
    Rocket North.imapmbox
    Barrister Books.imapmbox
    Venture Capital Fund of NE.imapmbox
    bodygard.imapmbox
    Blakely Project.imapmbox
    Comm Promo.imapmbox
    Judith Aronson.imapmbox
    Vendors.imapmbox
    Trash.imapmbox
    Accounts.imapmbox
    Agena.imapmbox
    Manifesto.imapmbox
    Portfolios.imapmbox
    Progressive Roofing.imapmbox
    Process & Deliverables.imapmbox
    Advertising.imapmbox
    Chris Zikakis.imapmbox
    Mojo Marketing.imapmbox
    Lauer Learning.imapmbox
    NOME.imapmbox
    Nantucket Kneepants.imapmbox
    NEMO.imapmbox
    Nickelsen Partners.imapmbox
    Essential.imapmbox
    Lawler Kang.imapmbox
    Accounting.imapmbox
    Compuworks.imapmbox
    Inside of Sent.imapbox we have...
    Messages
    Info.plist
    And inside of Messages are the 2 messages I sent today after testing another rebuild command...
    29601.emlx
    29193.emlx

Maybe you are looking for

  • BSP File Download  - .TIF problems

    Dear all! I haven't been able to fix this problem, please see my post for further information. I am using SAP.help coding to display files in BSPs (6.20, "BSP with flow logic" pages used). See the coding below. Somehow .tif files can not be displayed

  • CASE/DECODE in WHERE caluse

    Hi friends, Let's consider an EMP table has the following structure and data: create table EMP EMPNO NUMBER(4) not null, ENAME VARCHAR2(10), JOB VARCHAR2(9), MGR NUMBER(4), HIREDATE DATE, SAL NUMBER(7,2), COMM NUMBER(7,2), DEPTNO NUMBER(2), CONFDATE

  • FBRA resetting error

    Hi everyone! How do I correct an error if the message when resetting a cleared document in FBRA is this: "Account type D is not defined for document type KA"? Thanks!

  • Please help to find the correct answers

    Hi, Please send an url to study about the below questions with short and easily understandable explanation with simple example.Please help to improve my knowledge for the below concepts. 1.     String 2.     String Buffer 3.     String Builder 4.    

  • HT2105 I have several purchas's  my grandson made the  I did not realize were so high and would like to remove them

    My grandson made some purchases I did not realize were so high he had $25.00 in I Tunes cards but he went over that limit and I did not realize it.the purchases were on 2/1/2014 and 1/30/2014. I would like to have them removed and the updates removed