09-11-2008 09:21 AM
09-11-2008 10:01 AM
You may have the <windows.h> definition of CopyFile hiding the <utility.h> definition.
I suppose you forgot to include <utility.h>
Best regards,
Nicolas
09-11-2008 10:36 AM
I already have <utility.h> included and <windows.h> is not included.
Any other ideas?
09-11-2008 10:58 AM
I still think you've got a problem related to inclusion or the preprocessor.
Could you please preprocess the source file (Option/Preprocess source file) and search in the preprocessed file how your CopyFile has been processed.
If you can see CVI_CopyFile(arg1,arg2); the problem is not about preprocessing.
You could perhaps show us how you used CopyFile and how its arguments were declared
Best regards,
Nicolas
09-11-2008 11:55 AM
Thanks for all the help, I found the problem. I had inadvertantly named a variable 'CopyFile', which caused the problem.
Thanks Again.
Jim