LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

want to use c++ code inside cvi

have a C++ code that I would like to use inside my cvi project (which is in C) not sure how to integrate the C++ code from visual C++ into my cvi project.
0 Kudos
Message 1 of 2
(2,881 Views)
You can do this by creating a dll in VC++ that contains your C++ code. You will need to wrap the C++ code in C function calls so that it can be accessed from CVI.

Alternatively, you could move your CVI project to VC++ entirely, so you end up with a mixed C/C++ application.

--
Martin
--
Martin
Certified CVI Developer
0 Kudos
Message 2 of 2
(2,881 Views)