From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Using CVI library Callback in Visual C++ 6.0

Hello

I wonder if there is a way to set up VC6 so that I can use Labwindows CVI extensive LIB callbacks. I know I won't have the built-in function help features, but I just want to utilize the many CVI callback functions that I'm familar of (like the CVI RS-232 lib and Utility lib in particular). I'm using CVI 7.1.

Thank you very much for any comments.

Regards
hnguyen
0 Kudos
Message 1 of 4
(2,951 Views)
Hello,

Just use the CVI libs (at least cvirt, cvisupp, cviauto from CVI71\extlib\msvc\) in Your VC6 project as any other lib.
And on the target machine don't forget to install the runtime.
If You want to use UIRs look at the menu at Build >> External Compiler Support...

Hope I could help.
-----------------------
/* Nothing past this point should fail if the code is working as intended */
0 Kudos
Message 2 of 4
(2,939 Views)
Most libraries will work in MSVC without any problems, provided you add the paths to the include and library directories for CVI in your environment settings. The ones that have problems are the some of the common runtime libraries. For more information, take a look at this forum thread. Hope this helps!
Jeremy L.
National Instruments
0 Kudos
Message 3 of 4
(2,923 Views)
Hello

It works. You all make my day. Thanks

hnguyen
0 Kudos
Message 4 of 4
(2,913 Views)