Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Declaration Syntax error in decl-32.h

Hi!
I am using Boroland C/C++ version 4 to interface my instrument through GPIB. I am doing this on a Win95 Platform.

I have included decl-32.h and borolandc_gpib.obj files in my project. When I try to compile the project it gives an error saying : declaration syntax error in decl-32.h file. There are some 30 errors like this.

I cant' figure out how to compile and link the language intefaces within Boroland C/C++.
0 Kudos
Message 1 of 2
(3,093 Views)
Be sure to use double-quotes when doing an include statement. For example:

#include "..\Languages\Borland C\Decl-32.h"

It may help to start by compiling the examples in C:\program files\national instruments\ni-488.2\languages\borland c

It may also help to do a search on the web about compiling and linking in Borland C.

Randy Solomonson
Applications Engineer
National Instruments
0 Kudos
Message 2 of 2
(3,093 Views)