LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with using RTisShuttingDown function in LabWindows/CVI 2019

I'm using CVI 2019 to build my projects which was built in CVI 2012 and ran in Pharlap RTOS.

Problem is I can't use RTisShuttingDown function in my DLLs. 

In CVI 2012, there's no problem using RTisShuttingDown function to check whether RT is shutting down or not, but as I do the same in CVI 2019, there's a link error : 

"error: Undefined symbol '_RTmain' referenced in "c:\program files (x86)\national instruments\cvi2019\bin\msvc\cvipharlap.lib". "

I set a Target Settings as 'Real-time Only' to use RT functions.

 

I appreciate any help.

0 Kudos
Message 1 of 1
(1,859 Views)