06-17-2013 06:46 PM
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.
06-18-2013 07:39 AM
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
06-18-2013 09:05 AM
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.
06-21-2013 07:06 AM
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.