Parallel Port Program in VB
Parallel Port Program in VB
Parallel Port Program in VB
LIBRARY 8255
DESCRIPTION DLL FOR IO CARD
EXPORTS
Send_To_OutPut_Port @1
The name of your DLL library is given on the first line. It is “vbport”. The second line is just a
comment. Exports list the names of the functions you will eventually define in your VC++.
Here i have used one function called “Send_To_OutPut_Port”. If you want to declare some
more functions then declare them as Your_Function_Name @ Next_Number in Exports Lists.
For example if you have another function called “Get_From_Input_Port” then declare it in
exports as “Get_From_Input_Port @ 2”.
#include <stdio.h>
#include <conio.h>
Programmer: Kiran P
Parallel Port Programming in VB 2
Option Explicit
Dim out_port_add As Integer
Dim dummy_var As Integer
Yes, it has to work. If you have installed printer you can check the output.
Programmer: Kiran P