Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Intercepting an Interrupt on COM1
Message
From
25/08/1999 12:04:04
 
 
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Miscellaneous
Thread ID:
00257455
Message ID:
00257469
Views:
21
>Had a client ask me and I have no clue. Can FPW 2.6 monitor COM1 for an Interrupt, like INT4? If so, how?
>

Not by itself; there's no provision for directly monitoring a port in FPW or providing a Win16 ISR, but you may be able to use an add-on like CommTools if it supports interrupt-driven comms. A more promising approach would be to write your own comms and use the DDE interface to control conversations between an FPW app and the communications app. FPW has the ability to act as either a DDE server or client.

VFP could provide event-driven comms using the MSCOMM32 control in conjunction with VFPCOM, to expose the OnComm event of MSCOMMLib.MSCOMM to a custom VFP object, binding the VFP object to the MSComm object using VFPCOM's BindEvents()

>Thanx for your continous support.
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
Next
Reply
Map
View

Click here to load this message in the networking platform