Action()
{
char fullpath[1024] = "c:\\tmp";
char filename[] = "logfile.txt";
//strcpy(fullpath, "c:\\tmp");
strcat(fullpath, "\\");
strcat(fullpath, filename);
lr_output_message ("Full path of file is %s", fullpath);
return 0;
}
如果这样写char fullpath[] = "c:\\tmp";会出错。