Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How can I send a file directly to a printer through a po
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00455349
Message ID:
00456187
Views:
32
Mat,

Excuse my bad english, what I mean is that VFP freezes when I use CopyFile with LPT1: as the second parameter. So I have to press Ctrl+Alt+Del to Finish VFP. So I can't use GetLastError to know what happened.

Thanks anyway.

Luis

>>Yes, I tried with LPT1: but VFP hangs up. I have VFP 6 SP4 any ideas?
>>
>Luis,
>
>Have you tried the GetLastError API? If you call this after the failed CopyFile, it will return an extended error code which could help solve the problem.
>
>Kind Regards,
>
>Mat
Previous
Reply
Map
View

Click here to load this message in the networking platform