Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CopyFile API
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
Miscellaneous
Thread ID:
00454724
Message ID:
00454736
Views:
34
>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.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform