This sort of function definition:
int foobar(unsigned int a, int &b)
{
// Acquire some data... then
b = Data[a];
}
is OK in C++ (where & is used in this way as a call-by-reference indicator) but not in C. So if it worked before for you, it was most likely in a C++ environment, or using a C compiler that had C++-style extensions.
--
Martin
Certified CVI Developer