using CopyFileEx.....identifier not found
Posted on 2004-11-04
I am trying to use CopyFIleEx so that when i copy a file I get some feedback which I can use to update a progress bar. I think I have set up the CopyProgressRoutine correctly however I am having trouble with the FileCopyEx function.
I get an error C3861 'CopyFileEx' identifier not found.....
I have surfed the interenet and see I have to include the Kernel32.dll which I have tried by doing import "kernel32.dll" as well as adding it to the project from the visual studio "insert existing items.." menu. Both ways either error or dont find the CopyFileEx. I can use CopyFile fine but not CopyFileEx!
Why wont Visual Studio see it?
Thanks in advance