error.cpp

This is an example of how you can use function rdl_getLastError().

/*
 * error - retrieve and print Rulbus error.
 */

int error()
{
   const int len = 100; char  msg[len];

   rdl_getLastError( msg, len );
   fprintf( stdout, "%s\n", msg );

   return 1;
}


Generated on Wed Apr 6 08:59:18 2005 for Rulbus Device Library for Microsoft Windows by doxygen 1.4.0