06-19-2006 04:08 PM
06-20-2006 11:58 AM
Hi Tom,
To my knowledge, Msvcrt.dll is the Microsoft Visual C Run-Time library. These runtime library files are required for proper execution of many programs. The Microsoft Web site notes the files Msvcrt.dll, Msvcrt20.dll and Msvcrt40.dll are runtime library files that are required for proper execution of many programs. If you have deleted these files from your system or they were not included in the installation of a program, you may need to manually install them.
To assist you with this issue, one suggestion would be to verify the Msvcrt.dll is installed in the windows\system32 folder. Next, I would verify you are using the updated Msvcrt.dll from Microsoft. You can check out Microsoft's web site for more information on the versions of this dll. Lastly, it is possible while installing software the Msvcrt.dll was in use and not able to be overwritten, which may cause these errors. Closing all programs and attempting to repair the installations of LabVIEW and the drivers you mentioned may also be worth troubleshooting. If you surmise there may be a corruption within the computer, then I would suggest uninstalling and re-installing the above software. Let me know if this helps.
Chad Erickson
Switch Product Support Engineer
NI - USA
06-21-2006 12:57 PM
Thank you for the reply, Chad. The file msvcrt.dll is is the C:\Windows\system32 folder, as it should be so the problem is not that the file does not exist. Here are some further details:
There is a MicroSoft (the tester is running XP) exception raised at startup. When I choose to view details of the error I see additional information indicating that the exception was raised from within the application NIMAX.exe at module name msvcrt.dll (version 7.0.2600.1106). NIMAX does open, but any further action attempted from NIMAX results in the same error message.
From LabView, the exception occurs when niSwitchInitilizeWithTopology.vi is called. I get the Microsoft exception which indicates that the exception was raised from within the application LabVIEW.exe at module name hungapp (version 0.0.0.0).
I am running LabView 7.1. The tester was built in India and has no peripherals (although I do have 2 USB ports to add peripheral).
This tester is heavily used between 2 groups, and it is likely that one or more low level file was corrupted. I have tried System Restore, going back to several weeks before the problem started. I have also tried the MicroSoft sfc /scannow with no success.
I can reload LabView 7.1 and the drivers and post again, but I am not optimistic that will resolve the issue. In the meantime, I would appreciate any further assistance that you could provide. I haven't run across this problem myself in the past.
Thanks,
Tom
06-21-2006 04:15 PM
06-21-2006 04:52 PM
Hi Tom,
Thanks for the update. Have you attempted to uninstall and reinstall MAX?
Chad Erickson
Switch Product Support Engineer
NI - USA
06-22-2006 09:47 AM
Repairing NI-MAX did the trick. It turns out that when you got to "Add or Remove" and click where it says "click here for support" there is a repair option. That seemed safer to me, so I used that option to update from the CD and everything seems to be working O.K. now.
Thanks for the help.
Tom
06-22-2006 11:57 AM
Hi Tom,
It's great to hear you're good to go! Good luck in the future.
Chad Erickson
Switch Product Support Engineer
NI - USA