LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

build error in CVI 2015: WebServices.h error: use of empty enum

I am including SDK header file "Webservices.h" for my application, but it generates 2 errors when I am compiling my code. Errors as below and is related to the empty declared enum type. Any solution?

compliling errors: "WebServices.h"(695,1) error:use of empty enum "WebServices.h"(1603,1) error:use of empty enum 2 empty enum defined in "Webservices.h" are below: // XML Buffer enum // // Each xml buffer property is identified by an ID and has an associated // value. // typedef enum { } WS_XML_BUFFER_PROPERTY_ID; // Security Channel Settings enum // // Identifies the properties representing security algorithm knobs. // typedef enum { } WS_SECURITY_ALGORITHM_PROPERTY_ID;
0 Kudos
Message 1 of 3
(2,472 Views)

Are you using the header file from the Windows Kits directory or <National Instruments\Shared\MSDTRedistributables>?

 

The CVI Help has more information:

CVI 2015 Help: Windows SDK Include Files

 

https://www.linkedin.com/in/trentweaver
0 Kudos
Message 2 of 3
(2,423 Views)

Yes.

0 Kudos
Message 3 of 3
(2,419 Views)