the application has encountered a problem and needs to close

I build the LV, a request using the tabs, the FPGA dll and DLLs that communicate with devices CAN, GPIB, and PCI.

The apears program to work properly, but sometimes and I can't see the patern, it crashes with the error "the application has encountered a problem and needs to close...". »

Sometimes the error apears when I'm trying to exit the program, other times it hangs before that.

I can't find the error because the program can work well for several hours and then crash or it hangs after 5 minutes of work with it.

Clues about what goes wrong?

Kind regards

Daniel Coelho

I'm still going through the example, but since the error ocours sporadicaly this could take some time to identify the error.

I was browsing the code and I was wondering about simple things, like:

-J' have many local variables, could it be the cause protected by some kind of error?

-Since I use dll on my code, is there a way to make sure that all DLLs are loaded and unloaded properly?

My program has a TAB with a simple UI of TestStand and when I change the tabs I close the user interface for teststand. When I use this UI I have load and unload DLLs of same that I use on other tabs, i. e., when you use the UI I load all DLLs that communicate with devices and when I change the tabs I unload all DLLs because on each separate TAB I can control these indicidually devices.

It's a little hard to explain, but I think I managed

Is there a grain of truth on my questions? If so, what could I do?

Tags: NI Software

Similar Questions

  • Audio Board error, "IDT audio system tray application has encountered a problem and needs to close" at startup

    On startup, I get "IDT audio system tray application has encountered a problem and needs to close." How can I fix it?

    By replacing the file mixer...

    Right click on my computer > in the drop-down list on the left click on explore > in the menu bar, click Tools > File Options > see tab (or display) > 'Show Hidden files... ". "is ticked > stand c:\windows\system32\dllcache and right-click on the sndvol32.exe file and copy > paste here c:\windows\system32 and replace the existing file if requested > re - start.

    The error should disappear.

    If, for some reason, it does not disappear and you have no sound, download, then reinstall your audio drivers on the PC/Laptop manufacturers website.

    See you soon,.

    Jerry

  • "Any new name for the program" has encountered a problem and needs to close. Sorry for the inconvience

    Whenever we try to install something new, that settles it, but when we get the same error message

    "the new name of the program" has encountered a problem and needs to close.  Sorry for the inconvience

    We can't get anything to run now

    Hello

    1 is this problem limited only when installing an application?
    2. what application are you trying to install?

    Method 1.
    I recommend you to reregister the Installer engine.
    Here's how:
    a. Click Start, click Accessories and then click command prompt.
    b. at the command prompt, type the following and press ENTER after each line:

    MSIExec /Unregister
     
    MSIExec/regserver

    Method 2.
    For other methods, see the article below.
    How to troubleshoot issues that may occur when you install, uninstall, or upgrade one program on a Windows computer
    http://support.Microsoft.com/kb/2438651/en-us

    I hope this helps.

    Thank you, and in what concerns:
    Shekhar S - Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.
    If this post can help solve your problem, please click the 'Mark as answer' or 'Useful' at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • Why do I have the error, Act on the request, has encountered a problem and needs to close

    I have a program called law tax preparation on.  When I go to print a return, the window opens and bed the Enforcement Act"DEMAND" has encountered a problem and needs to close.  The choice to send error report to Microsoft to cancel.  I sent it to Microsoft several times and no answer on how to fix.  Also, have sent e-mail to act on the on the problem.

    Hi VickiSpittler,
     

    Try the steps listed in the following article and check if this can help:

    Help topic: error on Page / Script Error / error occurred

    If it does not, contact support act.

  • Assistant charger blackBerry Smartphones Pocket Application has encountered a problem and needs to close. We are sorry for the inconvenience.

    I get this message when I connect my new Bold 9900 and started doing on my curve 8330 a few months ago. I have the latest version of the 6.0 Desktop Manager installed on my laptop and my PC. The strange thing is that it works perfectly on my laptop, no error to a phone message. Just the new "BOLD" last week, connected to the PC, same error. I did a lot of reading through the forums and tried to uninstall and reinstall the Software Desktop 3 or 4 times. Even tried the upgrade of the OS on the curve and "BOLD" on the laptop. Plugged into the PC and the same problem. I can't force the Loader.exe to start the PC when I clicked on the C:\program Files/Common Files/Research in Motion/Apploader, block immediately. Even tired a method describes how to remove registry entries, etc., and tried. Does anyone have new ideas or more detailed in order to solve this problem. Seems to be question of Office Manager as no problem with the same features on laptop.

    I wish you to check the other pocket computer "error: link

    http://supportforums.BlackBerry.com/T5/desktop-software-for-PC/handheld-application-loader-wizard-HA...

    I spent some time trying the different charger and discovered versions this version 6.0.1.15 charger seemed to overcome the problem of error. The idea is to replace your current version of loader.exe 6.0.1.37 that comes with DTM 6.1 with the old 6.0.1.15 version I found on the page to download software of device bell for the torch 9800. It is necessary to install this device software temporarily and then copy this version charger in a location of your choice, say the office and use it later when the dust of the installation is installed.

    See page 3 of the link above for the rest of the info and tell us if it worked for you with some techi-comments.

  • HotSync® Manager Application has encountered a problem and needs to close. We are sorry for the inconvenience.

    Hello

    I have a Palm T | X, Palm OS Garnet v.5.4.9 running

    Last night, I tried to install ConvertCalc - CodeThought, Inc. the OS5 version, and it blue-screened my office. (XP Pro)

    Now, Hotsync Manager does not - either at startup, or if I try to start it manually.

    I uninstalled Palm Desktop (v6.2.2) and tried to re - install, but when it comes to HotSync Manager, it crashes with the error in the subject line.

    Clues?

    Thanks a lot for your time!

    Based on another thread and a WyreNut post, I changed my PalmDesktop 4.2 - and am all set...

  • "PWBKBACK MFC Application has encountered a problem and needs to close."

    The error signature: APPName: pwbkback.exe AppVer: 1.0.0.53 ModName: unknown ModVer: 0.0.0.0 Offset: 00737077

    I have used this program PsiWin successfully for years. All of a sudden I get this error message which I think is related to some Microsoft "language" called MFC (?) I COMPLETELY uninstalled and reinstalled the PsiWin program but still no luck. Can someone help me understand what could happen and is wrong with Windows or the program I install (I use the same PsiWin program successfully on a second PC that is also running Windows XP, so I think that there is something funny happens with first PC.). How I solve the problem? Thank you. [NOTE: my computer skills is "barely medium"]  Thanks in advance

    Thank you, gx41

    The error signature: APPName: pwbkback.exe AppVer: 1.0.0.53 ModName: unknown ModVer: 0.0.0.0 Offset: 00737077

    I have used this program PsiWin successfully for years. All of a sudden I get this error message which I think is related to some Microsoft "language" called MFC (?) I COMPLETELY uninstalled and reinstalled the PsiWin program but still no luck. Can someone help me understand what could happen and is wrong with Windows or the program I install (I use the same PsiWin program successfully on a second PC that is also running Windows XP, so I think that there is something funny happens with first PC.). How I solve the problem? Thank you. [NOTE: my computer skills is "barely medium"]  Thanks in advance

    Thank you, gx41

    This has been resolved.

  • LifeCam .exe has encountered a problem and needs to close

    Im trying to use my lifecam on my xp computer, but it does nothing, but saying lifecam .exe has encountered a problem and needs to close. That's all he does whenever I open it help me!

    Hello

    Thanks for joining us out on Microsoft Community Forums.

    According to the description, you get a message error "Lifecam.exe has encountered a problem and work stoppage.

    1. are you aware of changes to the computer before the show?

    2. What is the model number of the device?

    3. What is the brand and model of the computer?

    Method 1:

    I suggest you perform the steps mentioned in the article.

    From Lifecam software "Application has encountered a problem and needs to close. We are sorry for the inconvenience"error message.

    http://support.Microsoft.com/kb/2027807

    Method 2:

    Put the computer in a State of boot is a way to know which application is causing this problem.

    To help resolve the error and other messages, you can start Windows by using a minimal set of drivers and startup programs. This type of boot is known as a "clean boot". A clean boot helps eliminate software conflicts.

    Put your boot system helps determine if third-party applications or startup items are causing the problem. If so, you need to maybe contact the manufacturer of the program for updates or uninstall and reinstall the program.

    Step 1: Follow the steps in the link below to do the same thing:

    How to configure Windows XP to start in a "clean boot" State

    Note: After troubleshooting, be sure to set the computer to start as usual as shown here:

    Step 2: To configure Windows to use a Normal startup state

    After you have used the boot is a way to solve your problem, you can follow these steps to configure Windows XP to start normally.

    a. Click Start and then click Run.

    b. type msconfig and click OK. The System Configuration Utility dialog box appears.

    c. click on the general tab, click Normal Startup - load all services and device drivers and then click OK.

    d. When you are prompted, click on restart to restart the computer.

    Hope this information helps. Get back to us if you have more queries about Windows.

  • "Receive the error message" Microsoft (R) HTML Application host has encountered a problem and needs to close, etc. "when you access user accounts

    Original title: I can't access the accounts of users (XP).

    I can not access (XP) user accounts.  I get the message: "Microsoft (R) HTML Application host has encountered a problem and needs to close etc.."  The APPname is mshta.exe. I have this msg when I click on anything in the user accounts.

    1. What is the problem?
    2. what should I do to fix this?

    Hello Eric_984,

    Thank you for the question!

    It is disheartening to know that have problems you with user accounts. "As I understand it, you get an error message" Microsoft (R) HTML Application host has encountered a problem and needs to close etc. "when you access user accounts.

    I need to ask you a question to help you best.

    Were there any changes (hardware or software) to the computer before the show?

    Perform the steps in the link and check.

    Error message when you try to open the item user accounts in Control Panel on a Windows XP-based computer: "Microsoft HTML Application host has encountered a problem and needs to close."

    Answer to us if you are having problems with user accounts or any other issue of Windows, and I'd be happy to help you again and try to correct the problem as soon as possible.

    Good day!

    Hope this information helps.

  • Each time after clicking the icon of user account on windows xp to change a password is crashes with this error message: Microsoft (R) HTML Application host has encountered a problem and needs to close.

    Each time after clicking the icon of user account on windows xp to change a password is crashes with this error message: Microsoft (R) HTML Application host has encountered a problem and needs to close.

    There is a Microsoft Knowledge base article which sets up a few steps to perform in the computer in order to solve the problem you are experiencing, read the article that you find on the link I am mentioning below and see if it helps the measures mentioned:

    http://support.Microsoft.com/kb/919751

  • How can I fix error Pure Networks Platform Service has encountered a problem and needs to close. We are sorry for the inconvenience.

    Whenever my computer load I get this darn error. Pure Networks Platform Service has encountered a problem and needs to close.  We are sorry for the inconvenience. I also get a pop up nmsrvc.exe Application error. The statement as "0x66f23ff0" referenced memory at "0x00000000". The memory could not be 'read' PLEASE HELP!

    Hi heat110,
     
    -What is the brand and model of the router you are using?
     
    -You "Network Magic" software installed on your computer?
     
    Method 1: As a first step, try to restart the service of Pure platform of networks on your computer.
     
    Follow these steps to do the same thing:
     
    a. Click Start. Click run. Type Services.msc and press ENTER.
     
    (b) in the Services window, search for Pure Networks Platform service.
     
    c. right-click on the service and click on restart.
     
    d. restart the computer and check if you have got rid of the error message.
     
    Method 2: Uninstall Network Magic software and then re - install the software by downloading from the website of the manufacturer if necessary.
  • "NTVDM. EXE has encountered a problem and needs to close"error after installing the update of security KB2707511

    After you install the update of security KB2707511 when I try to open a ms - dos 16-bit program, I get the following error: "NTVDM. EXE has encountered a problem and needs to close. " Application does not start. I can run without error command.com. Uninstall KB2707511 in Control Panel, add & delete, the application works. Install KB2707511 error occurs.

    I have a lot of customers running a 16-bit MS-DOS - program that receives the same error.  It seems not to be a malware problem, as it is homogeneous across many machines (unless, of course, all have the same problem of malware).  By uninstalling the KB2707511 and the KB2709162 they all work. Something in these updates is in conflict with something in these dos programs causing the "NTVDM. Erorr EXE'.

  • Error "Generic Host process for Win 32 services has encountered a problem and needs to close." Sorry for the inconvenience. "Please tell MIcrosoft this problem."

    Original title: programs appearing and disappearing

    Generic Host process for Win 32 services has encountered a problem and needs to close.
    Sorry for the inconvenience.
    Please tell this problem to MIcrosoft. We have created an error report that you can send to help us improve the generic
    Host Process for Win 32 Services. We will treat this report as confidential and anonymous. To see the data click on send
    Error report or not send.
    I clicked on the error report, and that's what he said... szAppname:svchost.exe szAppver: 5.1.2600.5512
    szModver: 5.1.2600.5755 szModname: ntdll.dll compensate 00023845 etc, etc.

    Hi 1jimbo1,

    1. when exactly you receive this error message?
    2. did you of recent changes to the computer?

    Method 1:

    Step 1:

    You can try to start in safe mode and check if the problem occurs.

    Check out the link for more information on starting your computer in SafeMode below:

    http://support.Microsoft.com/kb/315222

    Step 2:

    If the problem does not happen in safe mode and then, try to perform a clean boot.

    A clean boot to check if startup item or services to third-party application is causing this issue.

    You can read the following article to put the computer in a clean boot:

    http://support.Microsoft.com/kb/310353

    If your problem is resolved after the clean boot, and then follow the steps mentioned in the article above to refine the exact source.

    After you have used the boot is a way to solve your problem, you can follow the steps to configure Windows XP to start normally.

    Method 2:

    You can also check the following link and complete the scan line on your computer to check whether your computer is infected with a virus or not.

    http://OneCare.live.com/site/en-us/default.html

    Thank you, and in what concerns:
    I. Suuresh Kumar - Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Cannot install 2 black & white or command conquer games. Error:Setup.exe has encountered a problem and needs to close. We are sorry for the inconvenience.

    The error occurs when I insert the game black & white 2 or command and conquer the first decade and click install on a automotive screens popping up, I am sure that these two errors are almost identical and sure if one is fixed so will the other be.

    The error that says "Setup.exe has encountered a problem and needs to close. We are sorry for the inconvenience. »

    To try to fix it already I found a page here which tells me how to install drivers different installshield, and I installed everything that have been listed. My operating system is Windows Xp home edition

    Hello

    Were you able to install these games without any problem before?
    Step 1: Install all updates of windows on your computer and check the number.
    Reference: http://support.microsoft.com/kb/306525 

    Step 2: Copy the game on your computer, then check the issue.

    Step 3: Perform the clean boot your computer.


    From your computer by using a minimal set of drivers and startup programs so that you can determine if a background program is interfering with your game or program. This type of boot is known as a "clean boot".
    Follow the steps provide in the article below to perform the clean boot. http://support.Microsoft.com/kb/929135
    Note: To restore your computer to a Normal startup mode, follow these steps:

    1. click on start in the box start the search.
    2. type msconfig and press ENTER.
    If you are prompted for an administrator password or a confirmation, type the password, or provide confirmation.
    3. on the general tab, click Normal Startup - load all device drivers and services and then click OK.
    4. When prompted, click on restart.

    Thanks and greetings
    Umesh P - Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.
    [If this post can help solve your problem, please click the 'Mark as answer' or 'Useful' at the top of this message.] [Marking a post as answer, or relatively useful, you help others find the answer more quickly.]

  • I had installed the captain claw game and when I try to run the following error report is: of the Side-Scrolling Action-Arcade game has encountered a problem and needs to close.

    original title: C:\DOCUME~1\hariraj\LOCALS~1\Temp\7f3f_appcompat.txt

    I had installed the captain claw game and when I try to run the following error report comes... Please solve my problem...

    ....

    ARCADE-ACTION SIDE-SCROLLING GAME

    Of the Side-Scrolling Action-Arcade game has encountered a problem and needs to close.  We are sorry for the inconvenience.

    ERROR SIGNATURE

    AppName: cla.exe AppVer: ModName 1.3.0.60: cla.exe
    ModVer: 1.3.0.60 Offset: 000f3956

    THE FOLLOWING FILES MUST BE INCLUDED IN THE ERROR REPORT

    C:\DOCUME~1\hariraj\LOCALS~1\Temp\b285_appcompat.txt

    Please please please please help me... i will be grateful to you

    Hi Raj Kumar,

    You can follow the steps mentioned in the article below, which deals with a similar question

    Game hangs or quits unexpectedly
    http://support.Microsoft.com/kb/303032

    (Article apply to Microsoft games, steps for other games)

Maybe you are looking for