Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How can I read the status lines of the parallel port in
Message
De
15/07/2000 10:53:20
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00392860
Message ID:
00392876
Vues:
9
>I am interested in using the 5 input printer status lines to read a special device. Then I would like to send a command out of the data lines to this device. does anyone know the commands in vfp6.
>

There isn't one; you need a special type of device driver, called a port monitor, to handle this task directly, and VFP by itself does not offer this capability. The necessary functions cannot be written using just VFP as a programming language; there are third party add-ons such as Robert Abrams' offering (an evaluation copy is available here on UT, and a commercial version of it is available from his web site) - the alternative really calls for writing code in a language like C++ and making use of the Windows DDK ( a set of services that provide direct control of low-level ports, mostly used for writing device drivers) to get the necessary access to the low-level hardware.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform