Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How can I input or output the data from a port???
Message
From
19/10/1999 07:37:39
 
 
To
04/10/1999 00:09:17
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00272183
Message ID:
00278050
Views:
17
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform