>I am attempting to use the CopyFile API, but I am getting an error number of 2 from the GetLastError API. I do not have C++ or the winerror.h include file. Can anyone tell what this error code means?
>
>Kind Regards,
>
>Mat
With VS, you can also install the Visual Studio Tools. I highly recommend them. Using the Error Lookup utility:
Error 2 - The system cannot find the file specified.
Did you NULL terminate the file names? Use Chr(0).
HTH.
Larry Miller
MCSD
LWMiller3@verizon.netAccumulate learning by study, understand what you learn by questioning. -- Mingjiao