Atique Ahmad
December 26th, 1999, 11:17 PM
I have been using QBasic's INP port% and OUT port%, num% commands to read and send bytes through hardware ports. Now, these are not available in Visual Basic. Can anyone help me with this. I have to use some of QBasic subs in Visual Basic.
Somebody told me to use the C functions: inport(), outport(), and make a windows DLL. I tried it using Borland C 3.1. it worked fine in VB 3, but not with 32-bit versions of VB. Now what can I do to tackle this problem.
Please note that the ports are not the common serial or parallel ports.
Somebody told me to use the C functions: inport(), outport(), and make a windows DLL. I tried it using Borland C 3.1. it worked fine in VB 3, but not with 32-bit versions of VB. Now what can I do to tackle this problem.
Please note that the ports are not the common serial or parallel ports.