ni.com is currently undergoing scheduled maintenance.
Some services may be unavailable at this time. Please contact us for help or try again later.
‎06-10-2005 01:36 PM
‎06-10-2005 01:40 PM
‎06-10-2005 02:26 PM
‎06-10-2005 02:52 PM
‎06-10-2005 02:57 PM
#include "windows.h"
#include "utility.h"
#undef CopyFile
#ifdef UNICODE
#define CopyFile CopyFileW
#else
#define CopyFile CopyFileA
#endif // !UNICODE
int func (void)
{
const char *a = "a.txt", *b = "b.txt";
CopyFile (a, b, FALSE); // fine, calls the SDK function
CVI_CopyFile (a, b); // also fine, calls the CVI function
}
‎06-11-2005 01:50 PM