LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Linking in libs provided by Chilkat software.

Has anyone tried to use the libraries provided by Chilkat software ( http://www.example-code.com/C/default.asp ) ?? I have tried to link in their libs into a LabWindows/CVI application, and consistently get a link error, indicating the lib file is corrupted. If anyone has tried to use their libs, I would REALLY appreciate some insight. Trying to figure out what I am missing.
Many thanks,
Harald B.

0 Kudos
Message 1 of 4
(3,824 Views)

Hi Harald,

 

As far as I've seen, the Chilkat libraries contain C++ code. Since LabWindows/CVI is for development in pure C only, I'm afraid you will not be able to use them.

 

Regards,

Alpar

0 Kudos
Message 2 of 4
(3,806 Views)

I have previously linked in libraries to LabWindows produced from C++ under Visual Studio 10, and it worked just fine. So, it seemed to me that linking in the Chilkat libraries should be possible, but apparently so far I have been proved wrong. Thanks for your reply.

0 Kudos
Message 3 of 4
(3,798 Views)

It depends on whether C++ entry points are exported through the libs. If so, then the libs they can't be used in CVI. Otherwise, it's perfectly okay for the library to contain C++ code, as long as only C wrappers to that code are used as exports.

0 Kudos
Message 4 of 4
(3,772 Views)