04-27-2006 11:55 AM
04-28-2006 02:12 AM
04-28-2006 09:11 AM
04-28-2006 09:55 AM
04-28-2006 10:09 AM - edited 04-28-2006 10:09 AM
If you have the full version of CVI and have installed the windows sdk add the line
#include "windows.h" in libOpto.h. This adds some of the windows definitions needed to use this header. With a little luck this should allow you to generate the type library.
If you don't have the full version of cvi you can download the Windows Platform SDK directly from Microsoft.
Message Edited by mvr on 04-28-2006 10:13 AM
04-28-2006 10:52 AM
04-28-2006 11:03 AM
Windows specific type definitions like WORD and UINT. Including windows.h takes care of this. One thing to note, if you ever need to add windows.h to any of your source files in CVI, make sure that you add it before any of the CVI header files. The windows definitions must be included first.
Good Luck!
04-28-2006 11:14 AM
If you use the version of libOpto.h that includes windows.h, it should be one of the first headers loaded by your c source file. If you want to use the original unmodified libOpto.h, just include windows.h in your c source file first, and you can then include the original libOpto.h in your source file where you would normally place it.
04-28-2006 01:08 PM
05-01-2006 01:19 AM