LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

opal kelly XEM3005 and LabWindoes/CVI 8.5

I'm using LabWindows/CVI v 8.5

 

I have created the worlds 2nd simplest GUI, a quit button, a switch, and an LED that reflects the status of the switch.  This works fine.

 

When I include the okFrontPanelDLL.h file (and that's all), the thing refuses to compile.  It appears to be choking on a "bool"

 

I have had the GUI creater create a winmain, and I have gone into my options and made sure the settings are VisualC++.

 

Any clues?  I can include code and projects if necessary.

Download All
0 Kudos
Message 1 of 4
(2,801 Views)

CVI means C, not C++

0 Kudos
Message 2 of 4
(2,795 Views)

*THAT* is really unhelpful...

0 Kudos
Message 3 of 4
(2,771 Views)

That's sad to read. It should have told you that CVI is choking on your bools because bool is not C, but C++.  Fortunately it seems that you have solved your problem now.

0 Kudos
Message 4 of 4
(2,763 Views)