02-05-2013 03:33 PM
I get this error on a win7 system with CVI 2012, every time that I try Linking to a specific dll that used to work in windows xp.
<MSG>
Microsoft Visual C++ Runtime Library
Runtime Error!
R6030- CRT not initialized
</MSG>
Can anyone help with this...?
Thanks in advance.
Solved! Go to Solution.
02-06-2013 09:56 AM
Hi skykeeper,
This is probably not an issue with CVI, since this is a C Run Time Engine error. Try running the program as an administrator; Windows 7 has increased security measures, and likely won't let you do a lot of the things you could in Windows XP.
Regards,
Alexandra
02-06-2013 10:28 AM
I have tried running the exe as administrator and get the same error.
Also tried to run in XP compatibility mode no luck.
02-07-2013 09:24 AM
Hi Skykeeper,
This issue is not related to CVI, it can happen in any C development environment. I found a number of forums with possible solutions just by Googling "R6030- CRT not initialized".
Here are some tof the more comprehensive forums I found:
http://www.promixis.com/forums/showthread.php?21015-C-Runtime-error-R6030-CRT-not-initialized
http://forums.ni.com/t5/LabWindows-CVI/R6030-CRT-not-initialized/td-p/1857605
http://support.citrix.com/article/CTX133036
Look through those and others to see if those solutions fix the error that you're seeing.
Regards,
Alexandra
02-12-2013 04:39 PM
OK, I narrow it down to the use of a dll that I built using LabView. Now I don't know why the error is comming up.
Any Ideas anybody?
Thanks.
02-13-2013 11:46 AM
Hi Skykeeper,
Does the LabVIEW code work on its own? You may have to go back to the LabVIEW Development System to troubleshoot the issue. If you do, consider posting a new discussion to the LabVIEW board.
Regards,
Alexandra
02-13-2013 11:55 AM
The Labview Code Works fine. also the dll works fine when is used by it self, it generates the error when used in a project with more dll's, in particular a dll from PXIT (pxit306.dll) they both work if they are not in the project togheter.
I have use the pxit306.dll for a long time in a project with multiple dll's built by us, but it is the first time using it with this LabView created dll.
Very Confusing... ???
02-14-2013 08:32 AM
Hi skykeeper,
What do these two DLLs do? Please list all of the functions available.
Regards,
Alexandra
08-05-2013 03:27 PM
Sorry for the delay. (busy with other projects)
I was forced to re-write the dll using CVI and the provided API, this works fine and have no conflicts with the other drivers and dll's.
Thanks for your Support.
08-12-2021 11:28 PM
Hi skykeeper,
Could you tell me how you solved the problem? I also encountered the same problem.
If possible, please try to be more detailed。
Thank you very much!