Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How can I input or output the data from a port???
Message
De
19/10/1999 07:37:39
 
 
À
04/10/1999 00:09:17
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00272183
Message ID:
00278050
Vues:
16
>I using debug.exe to test the status of port eg.
>
>-O 2C3 9B -Output 9B to Address 2C3
>-I 2C2 -Read data from ADD 2C2
>
>or In C
>
># Define BASE 0X2C0
>outportb(BASE,0X00)
>
>
>In VFP, how to do so.
>

The easiest way would be to create a small .DLL that will perform the operation for you in C/C++; the low-level port functions aren't available in VFP directly. be aware that direct manipulation of ports is not portable, especially in WinNT and Win2K

>
>Thank u.
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
Répondre
Fil
Voir

Click here to load this message in the networking platform