LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Urgent:-->Error while trying to use nireport.fp

Hi,
I am trying to use nireport.fp for reporting, i attached it to the project and compiled it ,then i got so many error in winnt.h.
Please see the attachement with the errors which i got.
Regards
Siva
0 Kudos
Message 1 of 2
(2,662 Views)
Two things:
1) What operating system are you using? What version of CVI are you using?  Ensure that the compiler define "/DWIN32_LEAN_AND_MEAN" is configured in Options>>Build Options.
2) It looks like for some reason it's pulling the winnt.h from C:\Program Files\Microsoft Visual Studio\VC98\Include rather than C:\Program Files\National Instruments\CVI81\sdk\include.  Ensure that your include path is not setup to search in the VC98 directory (Options>>Environment).

Additionally, please note that if you are using "windows.h" inside of your application, ensure that it is the first include file in your applications.
Thanks,

Andy McRorie
NI R&D
0 Kudos
Message 2 of 2
(2,640 Views)