06-07-2004 10:17 AM
06-08-2004
09:25 AM
- last edited on
04-01-2026
03:29 PM
by
Content Cleaner
Hello
CVI ships with a set of Windows headers file that have been customized for use with CVI. You are recieving compiler errors because you are using another set of Windows headers. To make sure you have the CVI Windows SDK installed, run the CVI install from Control Panel >> Add\Remove Programs and in the feature tree, make sure that the option to install Windows SDK is checked.
I hope this helps
Bilal Durrani
NI
06-08-2004 10:09 AM
06-08-2004
11:42 AM
- last edited on
04-01-2026
03:30 PM
by
Content Cleaner
These look like headers that are part of the Windows DDK. CVI was not designed for creating drivers that run in kernel mode, it is meant only for user mode application development. The CVI run-time is not capable of running under kernel mode.
I doubt you will be able to use the functions in these headers from CVI since they include inline assembly ( the __asm error you got) and make use of other constructs that CVI does not support.
If you want to be able to program a USB device from CVI, you might consider using VISA for this. This is a low level way to communicate to usb and is great for creating device drivers.
Bilal