Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CopyFile not working with captured port
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00510833
Message ID:
00512200
Views:
10
>Is there a list somewhere that will describe the different error messages returned by GetLastError?
>
>The error returned to me after trying:
>
>? CopyFile("c:\temp\rodd.txt","LPT1:",0)
>
>was 87. I need to figure out what that actually means. Can you point me in the right direction.

87 is an incorrect parameter; my guess is that CopyFile() is not recognizing the LPT1: device name. Try popping a DOS box and using SET to see what's defined to the OS.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform