Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Visual Studio 2008 compliler error

In my old application written with VC++ MFC I was using Measurement Studio 6.0 to control GPIB devices. Now I tried recompiling this project with Microsoft Visual Studio 2008 and got the same error in two places:

Error: “error C4430: missing type specifier - int assumed. Note: C++ does not support default-int”

Source code: nidataproxy.h(line 181) :inline operator ! () const;

Source code: nidataproxy.inl(361) :

CNiSafeArrayProxy::operator ! () const {                        return (rawData == NULL);Simple fix by adding one specifier do inline definition does not solve problem, because this definition is used with different types. Do you have solution for this problem?
0 Kudos
Message 1 of 2
(3,307 Views)
Can you successfully build any of the GPIB examples in C:\Documents and Settings\All Users\Documents\National Instruments\NI-488.2\Examples\DotNET3.5  and did you re-install the 488.2 driver after installing Measurement Studio 2008?
Richard S -- National Instruments -- (former) Applications Engineer -- Data Acquisition with TestStand
0 Kudos
Message 2 of 2
(3,288 Views)