Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CopyFile not working with captured port
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00510833
Message ID:
00512200
Vues:
11
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform