Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CopyFile, Win98 and 64K limit?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00568500
Message ID:
00568808
Vues:
24
Hey Larry,

You were definitely on the right track. I WAS able to use CopyFile to copy one of the large files from one directory to another. It seems as though the problem lies in copying the file to the queue.

I'm trying to find out what error message is being returned but I'm having some dificulty. I'm not able to get GetLastError() to return anything but a 0. I do the following:

declare integer CopyFile in Kernel32.dll string @source, string @dest, integer fail
declare integer GetLastError in Kernel32
* Also replaced above line with:
* declare integer GetLastError in Win32API

? CopyFile("c:\failfile","c:\temp\rodd.tst",0) // Where failfile is non-existant file ... just to force error
* Above command returns 0 - fail

lnError = GetLastError()

? lnError // Always displays 0

Can you help me in this? What am I doing wrong?

Rodd
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform