General information
Category:
Windows API functions
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
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only