Just to be clear, I'd like to point out that there is both an ANSI C and a C++ API to DAQmx. These are distinct APIs. Though the C API could be used in C++, the C++ API is object-oriented rather than a flat list of functions. If you are using the C++ language (rather than a C++ compiler to compile C, for example), you should find the C++ API more natural.
Another important difference is that the DAQmx C++ API requires National Instruments Measurement Studio and only works with Visual Studio .NET 2003 or later. The C API does not have these restrictions. Since you're using Visual Studio 6.0, the C API is probably your best choice unless you plan on upgrading to Visual Studio .NET 2003.
Just a word about Meas
urement Studio, if you're not already familiar with it. Measurement Studio augments Microsoft Visual Studio specifically for measurement and automation. Among other things, Measurement Studio gives you environment integration like project wizards and tool windows, user interface controls, and the same NI libraries you find in other languages, such as advanced analysis and DataSocket. For DAQmx, GPIB, and VISA, Measurement Studio allows you to do DAQmx code generation in C++, C# and VB .NET. You can find out more at http://www.ni.com/mstudio
Chris W
.NET/C++ DAQmx Team