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

Hi all!

The situation is:

I did an Application AIR, inside which a native process - running EXE file.

I use Flash CC as IDE and tried to use the compilation as EXE with AIR 2.6 and 3.6 - results are the same.

So I insert inside a control if the nativeprocess is supported or not and the native process is supported all the time.

When I come to install the application and run it - the first attempt is good - everything works as a must: internal EXE is called by my Application with the necessary parameters so long I need.

However if I close the application, then if it run not new - internal EXE is not starting at all, depends on number of attempts to restart the application.

Then only is to uninstall, install back and then you'll be a session more successful EXE-internal requests, until the forthcoming resumption of the application.

That's all.

I tried to "google it" but without success. The bug is probably very rare.

Help me please?

Update: compiling with the Flash IDE of CC, he works all the time with no problems.

Update-2: when I run EXE installator, there will be a notification "same version is installed, etc.', then choose 'Run Now' - he also works without any problem.

Well, I found the solution and the answer by myself and it is here please:

In the case with the same situation above, you will need to add a single line in your AS3 code

nativeProcessStartupInfo.workingDirectory = File.applicationDirectory;

And you will be so happy

Tags: Adobe AIR

Similar Questions

  • Having a very strange problem with Yosemite and Indesign CC 2014.

    I have a configuration of two screens, one for the tools and the floating palettes. When I use InDesign CC 2014 with Yosemite 10.10.2 pallets dock well below the background screens, obscuring the low tools and rendering tools does not. This does not happen with Photoshop or Illustrator. Someone has an idea on how to AFI to slam?

    Skærmbillede 2015-02-18 kl. 13.02.41.png

    Search on the forum and you will find many other glitches since Yosemite 10.10.2 and using a second screen. The answer is not found (change the layout of the height of your screen in the view of Mac OS X preferences, align your second screen at the bottom or in the middle)

  • I restored my laptop Toshiba because I had some problems with it and now my Windows Vista computer is indicating that it is 'invaild.

    RESTORED FOR LAPTOP, WINDOWS VISTA INVAILD

    Hi I'm new to these fornums

    I restored my laptop Toshiba because I had some problems with it and now my Windows Vista computer is indicating that it is 'invaild...

    I have the product key on a sticker on the bottom of the laptop, but whenever I entered the code, I also get this:

    The product key you entered will not work with this edition of Vista

    I know that most people are trying to say to activate by phone, but this option is not available

    Help, please

    Now that you have found the key and the certificate of authenticity, you must change to the key on the COA sticker - ONLY then it will activate.

  • Hi, I have installed sqldeveloper - 4.0.3.16.84 - x 64 with JDK and tried to run SQLDeveloper.exe its does not work. A flash comes and goes. It worked fine until two days ago. Don't know what happened all of a sudden its not working. Need help.

    Hi, I have installed sqldeveloper - 4.0.3.16.84 - x 64 with JDK and tried to run SQLDeveloper.exe its does not work. A flash comes and goes. It worked fine until two days ago. Don't know what happened all of a sudden its not working. Need help.

    I use Windows 7 Pro.

    I have read other threads and tried to launch SQLDeveloper.exe from the CMD prompt, nothing is shown a flash comes and goes.

    Tried to change of SetJavaHome sqldeveloper.conf to the path JDK that it didn't work.

    Please guide me.

    Thank you

    Maybe there is a problem with SQL Developer, being able to write to the network share of desktop directory.  Add the following to your sqldeveloper.conf file to force the settings of the user to store locally also:

    AddVMOption - Dide.user.dir = some_local_dir_to_own_system4.0.3.16.84

    I hope this helps...

  • More strange problem with keyboard and mouse on Satellite 1900

    Clicking on files or folders, I wonder to confirm the deletion of the clicked elements. The "Left shift" is interpreted as a backspace. I was afraid of a virus; but no viruses or spyware are present. I reformatted and reinstalled evrything; the problem persists. Everyone has known and resolved this strange problem.
    Thank you for the help.

    Hello

    It's very strange. Unfortunately I have no precise explanation. I suggest you check this with external keyboard to see if the keyboard is not defective.

  • Very strange problem with quick mask

    Hoping someone can help me with a very strange problem that just started to happen when I enter the quick mask in PS CS5. Let me guide you through the problem.

    (1) I opened my image in PS, go in the Mode mask quick and 'paint' my image in translucent red with a brush (100% of opacity, brush, etc. normal mode).

    Screen Shot 2016-06-05 at 23.34.57.png

    (2) once I fully painted my picture in translucent red, I leave the Quick Mask mode and the area outside the translucent red is selected. I hit M for the marquee tool, right-click on the picture I have just painted and choose 'Select inverse', which then selects everything within the translucent red area (note that I made this a million times over the years).

    Screen Shot 2016-06-05 at 23.35.25.png

    (3) my image is now selected. In general, what I do now is cut (cmd + x) that selected the image and paste it into another canvas, generally where is my biggest project. Whenever I did it, the image cuts and fits exactly as it is seen and leaves an empty space in the original image. However, when I cut it now, it seems to cut a transparent version, leaving behind a transparent 'ghost' of the original image.

    Screen Shot 2016-06-05 at 23.35.27.png

    (4) then when I paste the image cut in a new canvas, it is transparent as a default value.

    Screen Shot 2016-06-05 at 23.35.30.png

    I checked the transparency of all the paintings, and they are set to 100%. As I already said, I cut from images of no solid media using the quick mask all the time and it's never happened before. In fact, I made this weekend and it has only just begun in the last hour, so I think I clearly something clicked or activated a parameter without realizing account!

    In considering this explanation, I hope someone knows what is causing my pictures to cut and paste transparent after that I used the quick mask. It certainly is driving me crazy!

    Any advice or assistance would be most appreciated.

    Thank you

    In your first screenshot the color of foreground in the Toolbox is not 100% black (RGB 0,0,0)

    Until you try the quick mask, press D to set the foreground on black (RGB 0,0,0)

  • Strange bug with brush in Photoshop CC 2014 (EDIT - added example photo)

    Hello world

    Longtime Photoshop user, Photoshop CC 2014 running on a Mac Pro (mid 2010, 2x2.66 GHz 6 - Core Intel Xeon with 64 GB of RAM and a graphics card than NVIDIA Quadro K5000) running OS X El Capitan v10.11.3. I do all of my work out of SSDS (and use SSDS as my "scratch disks").

    I am a CC Subscriber but have not yet updated to 2015 for CC in Photoshop.

    I've been running in a strange bug while using the Brush tool. I'll do my best to describe it-when I paint on an existing layer, I get a strange series of pixelated lines and squares that I paint - and when I use the brush to 'cover' the squares, they disappear. When I resize, these squares disappear, and when I went to use Screen Grab (so I could take a snapshot of this issue), they also disappear - so I can't take a screenshot of the issue. These strange square and the lines do not appear to be part of my real file, but obviously, they make it impossible to work using the painting tools.

    * EDIT * I managed to capture an example of what I speak, please see the picture below:

    example.jpg

    These weird lines and squares are often the same color as my background color, or the same colors (but offset) of the layer I'm working on that.

    I recently installed an update of El Capitan (v10.11.3) and this problem appeared after that, so I wonder if this is Mac related, but I would appreciate any advice on how to solve this problem.

    Thanks a lot for reading and look forward to answering questions!

    This is a driver bug in the web for MacOS of Nvidia drivers.

    Contact NVidia to see if they still have a driver with the available bug fixed.

  • Very strange problem with my graphics card.

    Hello, I run Vista 64-bit.

    Good evening

    I have a pavillion desktop computer with which I mainly game and go to the web with. After a year of perfection, 20 days guaranteed since the computer goes through a horrible string of accidents. He started while going through the web, then ingame, for some time I couldn't even load past my password without crashing. After a while, I could finally access my desktop without the accident and run internet as well as a few other programs.

    I thought it was over, but it wasn't my games are not running. I go into the Device Manager and see that my graphics card has a "!" sign on its side. I'm trying to update the card, no difference. I go to the Web from NVIDIA site and download the latest update, restart the computer, no difference. I'm confused on what to do now, with the recession, money becomes low, I won't be able to pay an another 9800GT came with the computer.

    I went into safe mode. It the card claims to work very well, no. "!" and everything in his property shows no problem. Outside of safe mode, the problem reappears. It's the State in the map properties:

    "Windows has stopped this device because it has reported problems. (Code 43)

    Click on 'Search for solutions' to send data about this device to Microsoft and to see if there is a solution available. »

    After going to the Device Manager and uninstall my video card, I restarted the computer. After reboot, I could still run at 1440 x 900. An icon poped on the right to say that he recognized and has been installing this new driver (map). After installation, I restarted the computer. Tried to start a game, but he failed.

    Then downloaded the update for the card and he ran. I restarted after that and still no change. What should I do?

    Contact the manufacturer of your computer, ask them if your model is immune to nividia graphics card number, because this has happened to many new computers with graphics card NIVIDIA so some companies like sony said they have expanded their repair for 3 years after the warranty period. If the problem is caused by the graphic driver then repair and delivery costs will be covered by the manufacturer. If you still under warranty then definitely contact them. (you should be able to do online, if you have another pc)

  • S2240T monitor with touchscreen and 8.1 Windows

    I bought a monitor S2240T to use as a touch screen with an R2 of Alienware X 51 (Nvidia GeForce GTX 760 Ti 2 GB graphics card,), running Windows 8.1. It works, roughly. I can tap furiously several times before it will respond, and it often just not responding at all. I use a HDMI cable, everything is properly connected, and Device Manager shows the monitor as a tactile device compatible HDMI. It's just that this monitor is not really compatible Windows 8.1? This is not intended as a criticism of Dell or Microsoft, the monitor is actually a large screen, I just want to know if I bought the wrong type of monitor for Windows 8 touchscreen, 1, or it is supposed to work better than this?

    Quick update: I recalibrate the touch controls and adjusted the settings for a shorter, lighter touch. Now, it works much better on the half left of my screen only. The right hand of the screen is totally inadmissible to the touch. Is - this Windows 8.1 compatibility not or it's just a defective screen? It is very strange, because touch now works fine on half of the screen!

    Sounds defective.

    * Back to the top of this Forum to monitor
    Open the monitor "FAQ".
    * Open the "monitor warranty and replacement instructions.

  • I am on my second computer with display 4 k and have major problems with lightroom and photoshop crash windows 10

    During a photo this morning montage, photoshop crashed and restarted ten windows.  He did whenever I opened it.  I had to uninstall lightroom and photoshop to stop the problem.  I had this problem with another laptop.  I'm think he had back problems.  Now, I have the same problem on this news.  I don't know what to do, but it drives me crazy.

    Applications can have all of the computer of BSOD, stop, restart, or gel.

    The only things that can cause that are bugs in the operating system, bug in the drivers at the low level and the defective material.

    If you have a Nvidia GPUS with Nvidia to see if you can use their beta driver or if you need an older driver to correct their recent driver bug that causes errors in kernel_security_check.

  • Transition files with FLAC and WAV in Windows Media Player 11

    Hello
    is there a solution/support/plugin to get a feature a transition when I play the files FLAC and WAV in Windows Media Player 11? Now it doesn't work between my losless WMA files.
    Thanks for any help!

    No, I'm pretty sure that it is not possible. A transition in WMP 11 is available only for MP3 and WMA, and I don't know any plug-ins that allow a transition to other formats.

    For WMP 12 on Windows 7, the situation seems to be a little different. WMP 12 is actually melted chained WAV files, and I believe he can crossfade FLAC too, but only if you have a filter to transform Media Foundation for FLAC installed files. Unfortunately, such a thing does not exist (all active filters of FLAC are for DirectShow). Tim Baets
    http://www.BM-productions.TK

  • A very strange problem with DVD player (some DVD play not)

    Hello everyone.

    I bought a laptop Dell Inspiron 3543 2 months ago. Overall, I am very satisfied with this product, but I have a problem with the DVD player. When I insert some DVD discs, the driver reads some DVDs but not others. After trying to play DVDs, I see that the DVD player play about half of the DVD I'm looking for. Although I can guarantee, I didn't send my laptop to the service because I can't work even a day without my cell phone. So, in order to solve the problem, I bought a DVD player new, original Dell (the same model of dvd player, which is Panasonic Matshita DVD +-RW UJ8E2). Today I started using my new DVD player, but it also has the same problem as my old DVD drive or it also does not play some DVD.

    To make the issue even more strange, here are some details:

    -My dvd drives have no problem and I have tried many original DVDs (especially the original films). And all the dvd disks that do not play on my computer play on other computers with no problems. There is no problem with the disks.

    -Certainly no problem with the "DVD region Code". I use original DVDs with region code 2, which is the area code for my country.

    -All my drivers, the operating system and the dvd drive drivers are up to date. When I look at my DVD drive properties, it is written that "the dvd drive works properly.

    -When I insert a DVD disc, if my DVD player he plays, he plays each time. But if my dvd player does not play a dvd, and then he never plays it. So, there is a consistency in the dvd disc set to play or not. When a DVD disc does not play, my DVD player rolls the drive some time and then the DVD done pretending as if there is no disc in the drive.

    -Both my old and newly purchased DVD drives have exactly the same problem, so I think that there's no problem like a lens dirty. I also think that there is no mechanical problem with one of my DVD drives because my newly purchased, original DVD player also has the same problem.

    I thank everyone for any help or advice in advance.

    Today, I received my dvd player third, new, Chinese, not original from a seller of spare part. He plays all DVDs with no problems. :)

    If in the future someone always has the same problem as me and read this Web page to find a solution, you know where is the problem.

  • I am having a very strange problem with WMP 12 in WINDOWS 7

    Hello. I could use some help. A bit of background. HP can not solve the problem (I have a contract with the manufacturing service). I used this drive for 2 years without a lot of questions. I have more than 400 albums in my library.

    I got a new CD, sealed in its original packaging. The 1st thing I always do when adding new items to my library's copy of the disc. After that I tear to the library. Then I play WMP 12 on my desk. Everything was going well until the runway 13, when, after 00:28 seconds, he stopped play. I think a lot I have to send this back CD. Then after still ongoing at 01:16 he started playing again!

    I thought it was a little weird, I played both the original and the copy in my drive, they played very well. On my laptop, I played the original, he played without a break. I ripped the album to WMP 11 on my laptop and then saved on a flash drive. I used the flash drive to load the album to my office (WMP 12). He stopped playing exactly like the CD! Then I played the music taken from my Amazon music player and it plays very well.

    Please help, I know it seems trivial, but it drives me crazy (OCD, what can I say?).

    In addition, Ive ripped plus CD for my library without problem? Thanks for all the ideas.

    Hi Raymond - all the best for 2015.

    I read your Q When you first published and have waited to see if anyone has offered anything. Silence came the strong response! It is as you say - a strange. Track is playing well in one system and not another, etc.

    The only suggestion I can think of is open the file in an editor such as "Audacity" and that might give you a clue as to if there is a mistake that he stops playing and also a way to re - store version of wav music file seamlessly. It depends on how your OCD is ready to take you...!  :-) - you may need to download install and learn how use Audacity if you are not already using it or something similar.

    Let me know if you want to pursue this further. R

  • Strange behavior with postGlobalEvent and eventOccurred()...

    Hello world

    I have a browser plugin for my application that will do two things:

    Firstly, when the BlackBerry browser is forwarded to a Web page with a particular MIME type, the browser plugin will say my application to go to the foreground. It works without any problem.

    Secondly, the browser plugin will display a global event at my request. My request, making use of eventOccurred(), will look for this event and the EC type-approval, it will execute an authorize() method that I have. This also works. However, I notice some strange behavior:

    The first time my application launches the BlackBerry browser and goes to the page specified (with a custom MIME type), everything works fine. If I had while my application to launch the browser and do it AGAIN, my authorize() method is running TWICE. If I open the browser of my application for the third time, so my authorize() method is started THREE times. See the model?

    .. .This is all this without leaving my application. If I had to leave and then start my application again, the 'sequence' prior would begin again. Thus, it seems that whenever x times that I repeat this process, the eventOccurred() method will receive x events.

    Here are a few snippets:

    public class Events {
        final public static int EVENT_AUTHORIZE = 1;
        final public static int EVENT_OTHER = 2;
    }
    
    manager.postGlobalEvent(pid, 0xCAFEBABE, 1, 0, null, null);
    
    public void eventOccurred(long guid, int event_type, int arg2, Object arg3,
                Object arg4) {
            if (guid == 0xCAFEBABE) {
                switch (event_type) {
                case Events.EVENT_AUTHORIZE:
                    authorize();
                    System.out.println("EVENT EXECUTION");
                    break;
                case Events.EVENT_OTHER:
                    break;
                }
            }
    
        }
    

    Can we see what is happening here? I've been "racking my brain" on this one for a while now...

    Thank you!

    "Thus, this can work any time the class is instantiated." The class is instantiated just before I open my browser".

    Application.getApplication().addGlobalEventListener(this);
    

    If you call the above (by instantiating your class) every time that you open the browser, applications to register this event listener again and again.

    If you're going to do it this way, make sure removeGlobalListener you when your application is done processing.

    "Can I make addGlobalListener when my application starts even if this class does not implement GlobalEventListener?"

    You can always have your UiApplication implement GlobalEventListener or just instantiate a new object that implements it in the constructor of your UiApplication.

  • Y at - it shows a bug with Hide and regions in 4.1.1.00.23?

    Hi all

    I tried to put a subregion Hide and Show area on a page. It is supposed to have a subregion of the form of each side (i.e. above and below).

    'View' of the region will show a "View only" control with a text and a picture inside.

    When I create the subregion Hide and Show area and add the control. everything seems to work as expected. However, when I then moves the subregion so that it is now between the subregions two form, 'view' is no longer something watch. The arrow changes, but that's all. It's as if the display control had ceased to exist. Move that the subregion any where from there does not change the behavior - show it only control is not displayed.

    Does anyone know if this is a known issue with 4.1.00.23? If so, is there a workaround?

    Thank you very much

    PT

    There seems not to be a bug and it seems not be a workaround.

    To recreate (at least in version 4.1.1), in the tree, create two subregions of form and add some controls. Create a subregion Hide and Show, and then add a control. If you run the page now, it should appear normal (i.e. the content in the skin and see the subregion will be visible when you click on show). Now, move the sub-region Hide and Show via drag and drop to between the two sub-regions form. If you run the page now, it should appear that there is no content in the skin and see the sub-region, despite the fact that, in the design view control is always there.

    See the bug itself, swap component mode. You will notice that even if the sequence of sub region numbers appear correct, the physical order of the sub regions will always be as they were when the subregion to hide and see the creation.

    Thus, it will look something like this:

    Shape 90 1 sub-region

    Subregion 230 form 2

    100 hide / display the subregion<-- in="" tree="" view,="" this="" will="" appear="" to="" be="" between="" form="" sub="" region="" 1="" and="" 2,="" in="" component="" view,="" it="" still="" appears="" at="" the="">

    To fix, go back to tree, drag hide and show of the subregion at the bottom, return to the view of the component, change hide and show of the subregion it and manually change the value of the sequence to a value between Sub regions 1 and 2 form. This will be:

    • go hide and show the sub-region to form Sub region 1 region 2 Sub form
    • the content of the Hide and Show under region now appears when you click to perform the operation to see the

    Hope this helps someone someday.

    PT

Maybe you are looking for