LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Microsoft visual C++ runtime library

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

0 Kudos
Message 1 of 6
(5,188 Views)

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,

 

Ian S
Applications Engineer CLA
National Instruments UK&Ireland
0 Kudos
Message 2 of 6
(5,154 Views)

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

 

 

 

 

 

 

0 Kudos
Message 3 of 6
(5,129 Views)

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,

Ian S
Applications Engineer CLA
National Instruments UK&Ireland
0 Kudos
Message 4 of 6
(5,126 Views)

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

 

 

0 Kudos
Message 5 of 6
(5,121 Views)

I believe the LabVIEW data folder will be created automatically if My Documents exists, you can just try it and find out.

 

Regards

Ian S
Applications Engineer CLA
National Instruments UK&Ireland
0 Kudos
Message 6 of 6
(5,112 Views)