LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Linking C++ with Real-Time

I have created a dll using Microsoft VC++ 9.0 (2008)  to  be linked in real-time. Unfortunately when I try to check this dll using LabviewRT DLL checker I am getting a message that "DLL is bad. Check the imports." and the bad imports are from msvcr90.dll.....My dll is working perfectly in the windows environment but the DLLchecker says that it is bad. I have tried using the example codes from the tutorials for creating such "dlls using Microsoft VC++ 5.0 / 6.0", but those examples seem to have the same problems as well with the latest VC++ version. Unfortunately I don't have these old version VC++ compilers. Is there any other way that I can create a c++ dll and link it to real-time?
 
Thansk for your help in this regard.
0 Kudos
Message 1 of 3
(2,795 Views)
To add on to the above, has anybody else come across this issue when using Microsoft VC++? If yes, what dod you do to rectify the problem?
0 Kudos
Message 2 of 3
(2,775 Views)

National Instruments currently does not support Visual C++ 9.0.  However, you still might be able to use this compiler by taking a few extra steps. You will need to include the runtime (mscvr90.dll) and all necessary pieces statically in the DLL as support files passed to the RT target. Please be aware that this may result in a very large DLL.  Let me know if you have anymore questions, thanks!

0 Kudos
Message 3 of 3
(2,764 Views)