07-31-2013 06:19 AM
Hi all,
I am getting a run time error (Microsoft visual C++ runtime library) when I try to run the programs which are part of a project. But when I open them seperately (not from the project), they are just working fine.
The message is this:
"Program ...iles (x86)\National Instruments\LabVIEW 2010\LabVIEW.exe
This application has requested the runtime to terminate it in an unusual way. Please contact the applications support team for more information.".
The programs were working fine 2 weeks before when I opened them from the project and I haven't changed anything since then.
It would be great if someone help me fix this problem.
Many thanks,
Ramji
08-02-2013 03:31 AM
Hi Ramji,
There are several reasons which could cause this issue.
Can you check if you have the LabVIEW data folder in your "my documents" folder?
This has been known to cause this problem before.
It could also be related to this microsoft KB which has a hotfix in it.
Additionally it may be to do with .NET 4.0 where we have had the same issue in TestStand
If none of these seem to be the issue, please provide more version information about the OS, Visual C++, and LabVIEW (I believe you have 2010).
Best regards,
08-05-2013 03:54 AM
Hi Ian,
Thank you very much for your reply/thoughts.
I have only the "National Instruments" folder inside the "my documents" folder and don't have the LabVIEW folder.
This is the folder I have: C:\Users\Public\Documents\National Instruments\LabVIEW 10.0.
I tried the this microsoft KB which you mentioned but before checking that actually worked, I encountered a serious mechanical failure in the test rig.
I have currently stopped doing anything related to it. I will check it on Friday and update you.
Many thanks,
Ramji
08-05-2013 04:03 AM
Hi Ramji,
There should be a LabVIEW data folder inside your user documents ie C:/Users/<username>/My Documents/LabVIEW Data
I expect this is the cause of the problem.
It may just be that there is no My Documents folder under your logged in user. The whole problem can be solved by adding the documents folder back on the system. LabVIEW Data folder should be generated when you have "My Documents" available.
It looks like this is the root of the problem, so I don't think you will need the hotfix.
Regards,
08-05-2013 04:15 AM
Thanks Ian. But should I create both "My documents (logged in user)" + "LabVIEW Data" folders, manually in C:/Users/<username>/My Documents/LabVIEW Data?
Many thanks,
Ramji
08-05-2013 05:06 AM
I believe the LabVIEW data folder will be created automatically if My Documents exists, you can just try it and find out.
Regards