LV 8.5 DLL - Windows error on exit

I created a DLL in a LabVIEW 8.5 project, and found that if I used the 'Call Library Function Node' in a subsequent LabVIEW 8.5 VI, the DLL functions worked perfectly, but after I exited LabVIEW I would get the attached error from Windows.
I then created a very simple DLL VI, and built separate DLLs from it in LabVIEW versions 6.1, 8.2.1, and 8.5. I created a set of simple VIs to call these DLLs using LabVIEW versions 6.1, 8.2.1, and 8.5.
The DLL calls worked perfectly in all combinations of VI & DLL versions (for example, calling the 8.5 DLL from a 6.1 VI, or calling the 8.2.1 DLL from an 8.5 VI, etc.). I repeatably get the error message after exiting LabVIEW ONLY after opening an 8.5 VI that called the 8.5 DLL. I have also tried calling DLLs written by others in LabVIEW version 7 from an 8.5 VI, which worked perfectly and there was no error after exit.
Does anybody know why I might be getting this error message?
Attachments:
Error.png ‏68 KB

BEHajder wrote:
Hello Yi Y,
Thank you (and Rolf) for your replies.
I have not been able to configure the DLL build or Call parameters to avoid the error popup from occurring.
I have attached a zip file which contains 4 sub-folders:
The "LV 8.2.1 DLL" folder contains a project to build a simple DLL in LabVIEW version 8.2.1.
The "LV 8.5 DLL" folder contains a project to build the same simple DLL in LabVIEW version 8.5.
The "LV 8.2.1 DLL Test VIs" folder contains 2 LabVIEW version 8.2.1 VIs, one calls the version 8.2.1 DLL, the other calls the version 8.5 DLL.
The "LV 8.5 DLL Test VIs" folder contains 2 LabVIEW version 8.5 VIs, one calls the version 8.2.1 DLL, the other calls the version 8.5 DLL.
My test procedure consists of opening one of the Test VIs using it's version of LabVIEW, and then exiting LabVIEW.
If I open the "Test 8.5 call 8.5 DLL.vi", I always get the error after exiting LabVIEW. Opening the other test VIs do not result in an error after exiting LabVIEW. It does not make any difference if the test VI was actually executed or not.
The projects and VIs are very simple, please let me know if you think there is a configuration somewhere responsible for producing the error. I guess I am very interested to know if the error is reproducible for you, I have tested this on two Windows XP PCs here and both get the error. Also let me know if there is a problem with the attached zip file.
I can't find any configuration error in these VIs, HOWEVER:
I've run the 8.2 DLL with 8.2 Test in 8.2 and everything was fine.
And I've run the 8.5 DLL with the 8.5 Test VI in 8.5 and everything is fine too!! No error dialog independant if I just open the VI and close LabVIEW or if I run the VI before closing.
So I guess it is more of an environmental problem than a pure LabVIEW problem.
As to my computer all I can say it is a Sony VAIO, Pentium Mobile 1.5GHz, Windows XP Professional SP2, with latest fixes, Englisch OS version, just about any NI software starting from LabVIEW 5.1 up to and including LabVIEW 8.5, LabVIEW 7.1 and 8.2 with DSC, IMAQ, FPGA and RT software, NI-DAQ 7.4, DAQmx 8.6, MAX 4.3, NI-488, NI-VISA 4.2 and a few other drivers like CAN etc.
Rolf Kalbermatter
Rolf Kalbermatter
CIT Engineering Netherlands
a division of Test & Measurement Solutions

Similar Messages

  • Windows error 126 on home computer

    when I click onto itunes on my windows home computer and error message pops up
    MSVCR80.dll   windows error 126
    tells me to re install itunes
    however after 10 attemps yesterday that wouldn't work either.
    How do I fix this?

    You may have to follow the slightly more detailed steps in whichever of these two applies to you.
    HT1925: Removing and Reinstalling iTunes for Windows XP
    HT1923: Removing and reinstalling iTunes for Windows Vista, Windows 7, or Windows 8
    Rebooting into safe mode may be needed to delete any folder the instructions say you should remove. You may also find this Microsoft Fixit helps to remove stubborn components. It has taken some people several attempts to completely clean iTunes and supporting software before they have been able to successfully reinstall it.
    tt2
    Message was edited by: turingtest2

  • User32.dll Causing Error on Application Exit

    I have an application built into an exe with LabVIEW 8.2. It uses 1 simple call to user32.dll to determine if caps lock is on. When I build the application, it copies user32.dll to the 'data' subdirectory of my application. Everything works fine, however when I exit the program it throws a Windows error, "... has encountered a problem and needs to close..."
    Now the fun part. If I remove user32.dll from this directory, everything works fine. I guess it just goes out and finds the original user32.dll in the system directory and there are no errors when I exit. Replacing the file in \data causes the error again.
    The simplest thing would be to remove the call in my program as it isn't absolutely necessary (it just shows a warning when entering a password if caps lock is on), but there seems to be something weird going on because it only throws the error when using the dll it copied.
    Is there any way to stop the application builder from copying dlls? I couldn't find anything.
    Is there a way to force LabVIEW to release and cleanup any dlls it is using? If I could do this when the user exits, maybe whatever is causing this won't get left behind.

    Marc A wrote:
    I have an application built into an exe with LabVIEW 8.2. It uses 1 simple call to user32.dll to determine if caps lock is on. When I build the application, it copies user32.dll to the 'data' subdirectory of my application. Everything works fine, however when I exit the program it throws a Windows error, "... has encountered a problem and needs to close..."
    Now the fun part. If I remove user32.dll from this directory, everything works fine. I guess it just goes out and finds the original user32.dll in the system directory and there are no errors when I exit. Replacing the file in \data causes the error again.
    The simplest thing would be to remove the call in my program as it isn't absolutely necessary (it just shows a warning when entering a password if caps lock is on), but there seems to be something weird going on because it only throws the error when using the dll it copied.
    Is there any way to stop the application builder from copying dlls? I couldn't find anything.
    Is there a way to force LabVIEW to release and cleanup any dlls it is using? If I could do this when the user exits, maybe whatever is causing this won't get left behind.
    You should not copy system DLLs to other systems. That is a recipy for troubles. Make sure to reference user32.dll form inside the Windows System directory in your Call Library Node. LabVIEW will then see this as system library and not include it in the build. Any Windows system will have user32.dll in the system directory so there is really absolutely no need to distribute that with your app, (and actually it is legally not even correct).
    Rolf Kalbermatter
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • TS1368 I'm a PC user with an itunes account for several years. I updated my itunes and now it wont open and shows me 'missing file MSVCR80.dll,and error 7(Window error 126)' keep coming up even after re-installing itunes . What should i do?

    I'm a PC user with an itunes account for several years. I updated my itunes and now it wont open and shows me 'missing file MSVCR80.dll,and error 7(Window error 126)' keep coming up even after re-installing itunes . What should i do?

    Click here and follow the instructions.
    (98897)

  • When I plug in my Ipod touch to my computer a warning appears "The program cant start because MSVCR80.dll is missing."  I can not access my Itunes library.  Also, an "error 7 Windows error 126" appears as well.  Any ideas?

    When I plug in my Ipod Touch to my computer I can not access my Itunes library.  The following message appears "The program cant start because MSVCR80.dll is missing."  Also, another message appears as well - "Error 7  Windows error 126" as well as APSDaemon.exe.
    I have NO IDEA what the heck to do.
    Any ideas?
    Thanks!

    Issues installing iTunes or QuickTime for Windows
    solving MSVCR80
    iTunes 11.1.4 for Windows: Unable to install or open
    Troubleshooting issues with iTunes for Windows updates

  • Current iTunes MSVCR80.dll, Error 7 (windows error 126): SOLVED.

    Dear avid iTunes users - I have cracked it!!!
    The response from Apple/iTunes was extremely poor and did not solve the problem.
    I have a look in msconfig and observed which applications/services were running - one of which was the 'Apple Application Support'
    So ... I had a look at what was in this folder and found the APS Daemon.exe file causing all the trouble.
    So ... I simply deleted the Apple folder found in C:\program files\common files\.
    I did a restart and did not get the MSCVCR80.dll or Error 7 (windows 126) error messages.
    I reinstalled the current version of iTunes (for the 16th time!)
    Hey presto!!!
    IT WORKED :-O Woooohooo!!!
    So ... to all those smarty-pants boffin-brianiacs out there (apple/iTunes): this is how you do it!!!!!!!!!!
    YOU DO NOT NEED TO UNINSTALL ALL THE APPLE/QUICKTIME OR RELATED PROGRAMS - JUST DELETE THE APPLE FOLDER IN THE C:\PROGRAM FILES DIRECTORY.
    Nuff said.
    Like (0)

    Solving the iTunes Installation Problems in Windows
    1. Apple has posted their solution here: iTunes 11.1.4 for Windows- Unable to install or open - MSVCR80 issue.
    2. If the Apple article does not fully resolve the problem for you, then try Troubleshooting issues with iTunes for Windows updates - MSVCR80.

  • When opening iTunes I continue to get the same messages, 'The program can't start because AVFoundationCF.dll is missing' and 'iTunes was not installed correctly. Error 7 (Windows error 126)' I've uninstalled, reinstalled many times - nothing! help please.

    When opening iTunes on my new Windows 7 PC I continue to get the same messages, 'The program can't start because AVFoundationCF.dll is missing' and 'iTunes was not installed correctly. Error 7 (Windows error 126)' I've uninstalled and reinstalled many times to no avail, even tried it on a different user account and still nothing. I recently installed Panda Internet Security 2012 (about 12 days ago), initially iTunes worked fine as usual but within the last few days I've been  unable to open it with the same messages appearing. I've read through some of these pages and tried everything that's been advised, uninstalling and reinstalling while internet and laptop security is swithched off, downloading tools to completely remove anything related to iTunes, tried it in Safe Mode, nothing has worked. I've also noticed that in the start menu when I click on iTunes, it says '(empty)' where it should have the logo and ability to start the program, does this mean it doesn't download + install properly each time I've tried? Any help would be enormously appreciated.

    Doublechecking. Have you also tried the following user tip?
    Troubleshooting issues with iTunes for Windows updates

  • I can not open iTunes. It started when an upgrade appeared. Now I get this message when I try to open itunes. can not find MSVCR80.dll     Then I get ERROR 7 (windows error 126)   I tried reinstalling iTunes but that did not help. Please Help Me!

    I can not open itunes on my computer. It started when an upgrade appeared. Now I get a message that states This application has failed to start because MSVCR80.dll was not found. Re-installing the application may fix this problem. I tried to reinsall the application but it did not help. I also get a message iTunes was not installed correctly. Please reinstall iTunes   Error 7 (Windows error 126)   Please Help me!

    Click here and follow the instructions. You may need to completely remove and reinstall iTunes and all related components, or run the process multiple times; this won't normally affect its library, but that should be backed up anyway.
    (99623)

  • After doing a suggested update of itunes on my pc it will not open and gives me a msg saying msvcr80.dll is not on my computer and windows error 126 has occured

    After doing an update of itunes on my pc Itunes will no longer open and gives me a msg about MSVCR80.dll not on my computer and Itunes was installed incorrectly error 7 (windows error 126)

    This happened to me today as well post installing the latest version of itunes.   I did a search on google for the error and came across a recommendation to :
    Note: Start Windows in Safe Mode to complete any of the following steps if you're unable to access Windows normally due to the msvcr80.dll error.
    If, and only if, you're receiving the msvcr80.dll is missing error when you open Apple iTunes, do the following: (skip this step if your msvcr80.dll error is occurring with a different program)
    Uninstall from Windows the following five programs in this order: iTunes, Apple Software Update, Apple Mobile Device Support, Bonjour, and finally Apple Application Support. If you have iCloud, remove it as well.
    Uninstalling these programs in Windows is done from an applet in Control Panel called Programs & Features (in Windows 8, 7, or Vista) or Add or Remove Programs (in Windows XP).
    Note: Songs and playlists in iTunes will not be removed when you uninstall the iTunes program or any of the other, already-mentioned Apple programs. If you'd still like to back them up, they're usually located in the My Music folder in Windows.
    Download the latest version of iTunes from Appleand note the location you're saving it to so you can find it once it's done.
    Run the iTunes installation as an administrator. If you're not sure how to do that, see How Do I Open an Elevated Command Prompt? for help. That procedure shows you how to open the Command Prompt program as an administrator, but the steps are essentially the same for anything, including the iTunes installation package you just downloaded.
    A general overview of removing and reinstalling iTunes can also be found here on Apple's site but the above procedure seems to work better in this particular situation.

  • Hello, I have windows 7, Im getting msvcr80.dll error 7(windows error 126) when I tried to update my itunes. Now it won't open. Does anyone have a remedy? And when I try to uninstall it says that the file cant be found.

    Hello< I have windows 7, I tried to install the new itunes version, last night 1/30/14, Im getting msvcr80.dll error 7 (windows error  126). Does anyone have a remedy for this? When I try to uninstall the ituned program it says it can't be found and to make sure I have permission to uninstall.

    Same problem today. Took five times to reinstall without any error messages. I did the following:
    1) Went to the C:\program files (x86)\iTunes and C:\program files\iTunes folders and moved every file ending in .dll to the desktop (even if two files in same location had the same name, just replaced)
    2) Restarted computer and still got error message
    3) Uninstalled all apple programs possible in the following order......itunes, apples software update, apple mobile device support, bonjour, and apple application support.....all performed using the microsoft control panel
    4) put all the .dll files on the desktop in the trash and emptied (this is a step apple support did not recomment in their posted solutions but for a final try I wanted to delete everything apple).
    5) Restarted computer.
    6) Re-installed itunes from apple website
    No error messages during re-install and was able to open shortcut in one try.

  • I have uninstalled and reinstalled the new iTunes but it still will not work.  I keep getting the error mesage relating to MSVCR80.dll, the installation error 7 (windows error 126). I have tried moving and removing the dll files including the QTMovie dll

    I have tried uninstalling and reinstalling iTunes 15 times regarding the latest release and still get the MSVCR80.dll and Error 7 (Windows error 126) messages.
    I have tried moving the dll filesincluding the QTMovie dll file to now avail.  Can anyone please help, as I am sure you all, like me, have thousnads of dollars and songs invested in this system and need a fix fast.  Can anyone please help???

    Dear avid iTunes users - I have cracked it!!!
    The response from Apple/iTunes was extremely poor and did not solve the problem.
    I have a look in msconfig and observed which applications/services were running - one of which was the 'Apple Application Support'
    So ... I had a look at what was in this folder and found the APS Daemon.exe file causing all the trouble.
    So ... I simply deleted the Apple folder found in C:\program files\common files\.
    I did a restart and did not get the MSCVCR80.dll or Error 7 (windows 126) error messages.
    I reinstalled the current version of iTunes (for the 16th time!)
    Hey presto!!!
    IT WORKED :-O Woooohooo!!!
    So ... to all those smarty-pants boffin-brianiacs out there (apple/iTunes): this is how you do it!!!!!!!!!!
    YOU DO NOT NEED TO UNINSTALL ALL THE APPLE/QUICKTIME OR RELATED PROGRAMS - JUST DELETE THE APPLE FOLDER IN THE C:\PROGRAM FILES DIRECTORY.
    Nuff said.

  • Trying to start itunes - message appears "APSDAEMON.EXE MSVCR80.DLL is missing.  Then another box indicates "Error 7 (Windows error 126).  Itunes will not start.  Can someone tell me what the problem is and how to fix?

    when I tried to update to the new version of Itunes - message box appears "APSDAEMON.EXE MSVCR80.DLL is missing".  Then another box indicates "Error 7 (Windows error 126)".  Itunes will not start.  Can someone tell me what the problem is and how to fix?

    Solving the iTunes Installation Problems in Windows
    1. Apple has posted their solution here: iTunes 11.1.4 for Windows- Unable to install or open - MSVCR80 issue.
    2. If the Apple article does not fully resolve the problem for you, then try Troubleshooting issues with iTunes for Windows updates - MSVCR80.

  • HT1926 just lost my itunes after doing a update. getting error message MSVCR80.dll and ERROR 7 (Windows error 126)I even tried to reinstall the whole program off from here. What happened? HELP!

    I tried to open my Itunes toady on my home computer. It said to update the library so I did. Now it wont open or anything. Tried reinstalling everything and get the error messages posted in the title above. Please Help. I have a lot tied into Itunes. Now when I check for updates it says everything is upt to date but when I try to open it i still get these two erroe messages.    MSVCR80.dll and ERROR 7 (Windows error 126)

    Hello berlinfire1979,
    The following article provides further information regarding this error, and steps that can help get iTunes working again.
    iTunes for Windows: "Error 7" message when opening iTunes
    http://support.apple.com/kb/TS3074
    Cheers,
    Allen

  • HT1349 For reasons unknown to me itunes will no longer open.  I receive a message saying that MSVCR80.dll is missing and then also windows error 126.  Can anyone help?

    itunes has gone from working fine to not opening overnight!  When I click on the icon I get 2 messages:  MSVCR80.dll is missing and then windows error 126.  Can anyone suggest a remedy? 

    Hey there Riab,
    It sounds like you are unable to launch iTunes due to this error message. I recommend removing iTunes with the following article to get iTunes AND its associated programs uninstalled:
    Removing and reinstalling iTunes and other software components for Windows Vista, Windows 7, or Windows 8
    http://support.apple.com/kb/HT1923
    When that is done, download and install iTunes from this page:
    http://www.apple.com/itunes/download/
    Thank you for using Apple Support Communities.
    Regards,
    Sterling

  • Update to 10.7 did not work, cannot access iTunes. Need AVFoundationCF.dll, Ituneshelper not installed correctly, Error 7 (Windows Error 126), Error 7 (Windows Error 5)

    I am running Windows 7 64 bit.
    This HORROR  began because I realized that my phone had suddenly lost all of the music except music that had been purchased. It also lost all purchased iBooks as well as audible books downloaded from audible and ringtones that I had purchased from iTunes.
    I then thought that it would be fine once I connected to itunes on my computer. I connected to itunes and it said that there was an update available so I downloaded and installed 10.7.
    I tried to run the program and got Error 7 (Windows error 5) message.
    I then found several discussion questions that seemed similar to mine and I think that I tried them all. Removed everything apple and reinstalled iTunes. I followed the instructions and removed everything in the order that was listed, some I had to change security to own the file before I could delete them. I did all of the steps, (maybe I deleted too many apples items ??) emptied the recycling bin, restarted and reinstalled.  I also tried the Net framework fix, used the ms fixit (the one with the picture of the man on it) and I think a few other things that I have found on this site as well as MS site. I restarted my computer every time.
    The latest thing that I tried was to download 10.63 since I don't care about the new stuff.  After all of this I sometimes get and message saying that I am missing AVFoundationCF.dll file and once it said something about Itunes Helper (when these two messages appear, it is separate from the error messages which occur after clicking ok on them)  before getting the Error 7 (windows error 5) or else Error 7 (Windows error 126).
    PLEASE HELP!

    Follow the instructions on this link, basically un-install everything, remove programs that says they are made by apple inc. (using add remove program)
    http://www.reimageplus.com/fix-windows-127-error/   (Many thanks to reimageplus.com)
    You will also need to check and verify that the following folders have been removed:
    C:\Program Files\Bonjour
    C:\Program Files\Common Files\Apple
    C:\Program Files\iTunes
    C:\Program Files\iPod
    C:\Program Files\QuickTime
    C:\Windows\System32\QuickTime
    C:\Windows\System32\QuickTimeVR
    dont forget to remove icloud also
    you dont need to delete your itune music library though
    If any of these folders still exist, delete them along with their contents. (if you cant delete them, right click and go to properties and then security and change the control of the fold to you)
    do this for files under  program files and program file (x86) on your computer
    once you have deleted everything, restart your computer. Then I repaired my registry using a registry repair program.
    Important:-  instead of installing itunes I installed quick time, which installs apple application support (this is the corrupt file which is causing all the issues)
    i then installed itunes and it all worked fine,
    should take no longer than half hour to fix
    hope this helps

Maybe you are looking for

  • Action for saving scripts to a folder

    We need to create an action in Photoshop CS5 on Windows 7. The action is simply, it just needs to save a file to a particular folder on a file server, then close the file. This script will need to be able to given to several people in the building, a

  • ECC 6.0 leave request attendence overview

    Please can someone help me how to configure the field "status" in my ESS leave request attendence overview in ECC6.0? I'm using a leave request scenario without approval and the status of my posted absences in infotype 2001 show the status "informed"

  • PDFMaker Files Missing Suddenly - Is there a fix?

    after last update suddenly get missing pdfmaker files do you want to run the installer in repair mode when trying to make a pdf.  I've already spent a good amount of time on google and nothing i've tried seems to fix the problem. Running Win 7 Pro 64

  • Flash Not Working On All Websites

    Hey guys - I recently upgraded to Mac OS X 10.6.8 (Snow Leopard). Unfortunately, Flash only works on certain websites in both Safari 5.1 and Firefox 6.0.1. For instance, YouTube works, but Flash videos on Barnes & Noble don't. What I've tried so far:

  • Oracle 10gR2 installation Media

    Hi, I can see on OTN where I can download Oracle 10gR2 for all platforms, and I can see on oraclepartnernetwork where I can request installation media be shipped for 10gR1. Where do I request official installation media from Oracle for 10gR2??? Cheer