Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CopyFile, Win98 and 64K limit?
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00568500
Message ID:
00568518
Views:
26
This message has been marked as a message which has helped to the initial question of the thread.
>We have a legacy system that we are currently re-designing. However, as a stop-gap measure, we began using the CopyFile API function for sending print jobs to Novell queues. Our print jobs are printed to file and a post-processing routine then takes the file and, using CopyFile, redirects it to the print queue on the Novell Server.
>
>However, just last week we ran into our first hang up. After a bit of sleuthing, we determined that the CopyFile function will not deal with files larger than 64k when used on a Win98 machine. We can print the exact same file from a 2000 machine, but trying from any 98 machine yeilds an error.
>
>Does anyone know of a workaround for this. We only have a few users at our site that deal with printouts that large but they still need their printouts all the same. (Have you ever tried to tell an accountant they can't have a general ledger report because it's too big?) 8?)
>
>Anyhow, any help you can offer would be greatly appreciated.
>
>Thanks in advance,
>
>Rodd Harris

Rodd,
I wouldn't think this would be a problem. People copy large files all the time on Win98 systems without problems. It doesn't sound like a CopyFile problem. What is the error number returned by GetLastError:
declare integer GetLastError in kernel32
Maybe it is a problem with copying it to the print queue and something could be done on that end.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform