Information générale
Catégorie:
Fonctions Windows API
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement